summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-12-12 14:57:02 +0100
committerMarius Bakke <marius@gnu.org>2022-12-12 15:12:58 +0100
commit16f87d883b79b38da7d4297e8eb30c8f6eb735c1 (patch)
treed95e12303a0af191dc7edd049e54df28166eca07 /gnu/services
parent79564bf9977ebba0b31d8dc291eb039142f51f68 (diff)
services: zabbix-server: Increase Shepherd grace period.
* gnu/services/monitoring.scm (zabbix-server-shepherd-service)[stop]: Add #:grace-period.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/monitoring.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index 9a88351566..44e2e8886c 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -404,7 +404,10 @@ configuration file."))
/etc/ssl/certs"
"SSL_CERT_FILE=/run/current-system/profile\
/etc/ssl/certs/ca-certificates.crt")))
- (stop #~(make-kill-destructor))))))
+ (stop #~(make-kill-destructor
+ ;; The server needs to finish database work on shutdown
+ ;; which can take a while for big or busy databases.
+ #:grace-period 60))))))
(define zabbix-server-service-type
(service-type