mbakke pushed a commit to branch master
in repository guix.
commit 756f16aa019ef6b286f92704c8ba20c501c620eb
Author: Marius Bakke <[email protected]>
AuthorDate: Sat Jan 29 11:41:17 2022 +0100
services: zabbix-agent: Set the PATH variable.
* gnu/services/monitoring.scm (zabbix-agent-shepherd-service)[start]: Set
the
PATH variable to the common values.
---
gnu/services/monitoring.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index a3955808e9..ea0f5b8f0e 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -534,7 +534,9 @@ configuration file."))
(list "SSL_CERT_DIR=/run/current-system/profile\
/etc/ssl/certs"
"SSL_CERT_FILE=/run/current-system/profile\
-/etc/ssl/certs/ca-certificates.crt")))
+/etc/ssl/certs/ca-certificates.crt"
+ "PATH=/run/setuid-programs:\
+/run/current-system/profile/bin:/run/current-system/profile/sbin")))
(stop #~(make-kill-destructor)))))
(define zabbix-agent-service-type