diff options
author | Marius Bakke <marius@gnu.org> | 2022-02-17 18:08:39 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-02-17 18:13:16 +0100 |
commit | 1059c2bb66cca89c7619e595502e3e17f1aa1c81 (patch) | |
tree | 26319641535833d1d7e44cdf94eca0f8f5254c10 /gnu | |
parent | 29091731a0c6cb649cdfd72297575fe2bb2a9591 (diff) | |
download | guix-1059c2bb66cca89c7619e595502e3e17f1aa1c81.tar.gz guix-1059c2bb66cca89c7619e595502e3e17f1aa1c81.zip |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/monitoring.scm | 2 |
1 files changed, 2 insertions, 0 deletions
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) |