guix-commits
[Top][All Lists]
Advanced

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

branch master updated: services: zabbix: Add requirement on 'user-proces


From: guix-commits
Subject: branch master updated: services: zabbix: Add requirement on 'user-processes'.
Date: Thu, 17 Feb 2022 12:15:01 -0500

This is an automated email from the git hooks/post-receive script.

mbakke pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1059c2bb66 services: zabbix: Add requirement on 'user-processes'.
1059c2bb66 is described below

commit 1059c2bb66cca89c7619e595502e3e17f1aa1c81
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Feb 17 18:08:39 2022 +0100

    services: zabbix: Add requirement on 'user-processes'.
    
    This ensures the services does not start before mounts are up.
    Reported by rekado on #guix.
    
    * gnu/services/monitoring.scm (zabbix-server-shepherd-service,
    zabbix-agent-shepherd-service)[requirement]: New field.
---
 gnu/services/monitoring.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index 92c49c513b..0e6aed2cac 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -392,6 +392,7 @@ configuration file."))
         (config-file (zabbix-server-config-file config)))
     (list (shepherd-service
            (provision '(zabbix-server))
+           (requirement '(user-processes))
            (documentation "Run the Zabbix server daemon.")
            (actions (zabbix-server-actions zabbix-server config-file))
            (start #~(make-forkexec-constructor
@@ -516,6 +517,7 @@ configuration file."))
   "Return a <shepherd-service> for Zabbix agent with CONFIG."
   (list (shepherd-service
          (provision '(zabbix-agent))
+         (requirement '(user-processes))
          (documentation "Run Zabbix agent daemon.")
          (start #~(make-forkexec-constructor
                    (list #$(file-append 
(zabbix-agent-configuration-zabbix-agent config)



reply via email to

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