guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/10: services: zabbix-agent: Set the PATH variable.


From: guix-commits
Subject: 09/10: services: zabbix-agent: Set the PATH variable.
Date: Sat, 29 Jan 2022 06:53:59 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 756f16aa019ef6b286f92704c8ba20c501c620eb
Author: Marius Bakke <marius@gnu.org>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]