From 756f16aa019ef6b286f92704c8ba20c501c620eb Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 29 Jan 2022 11:41:17 +0100 Subject: 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 -- cgit v1.2.3