services: zabbix-server: Increase Shepherd grace period.

* gnu/services/monitoring.scm (zabbix-server-shepherd-service)[stop]: Add
 #:grace-period.
This commit is contained in:
Marius Bakke 2022-12-12 14:57:02 +01:00
parent 79564bf997
commit 16f87d883b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -404,7 +404,10 @@ (define (zabbix-server-shepherd-service config)
/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