aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-29 11:41:17 +0100
committerMarius Bakke <marius@gnu.org>2022-01-29 12:52:38 +0100
commit756f16aa019ef6b286f92704c8ba20c501c620eb (patch)
treedddc109de560cd7eb4129e44bebc9d79e1964c3a /gnu/services
parent81873cbc5d42b2d404ae01fb3e64e946f21f4004 (diff)
downloadguix-756f16aa019ef6b286f92704c8ba20c501c620eb.tar.gz
guix-756f16aa019ef6b286f92704c8ba20c501c620eb.zip
services: zabbix-agent: Set the PATH variable.
* gnu/services/monitoring.scm (zabbix-agent-shepherd-service)[start]: Set the PATH variable to the common values.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/monitoring.scm4
1 files changed, 3 insertions, 1 deletions
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