mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
services: zabbix-server: Increase Shepherd grace period.
* gnu/services/monitoring.scm (zabbix-server-shepherd-service)[stop]: Add #:grace-period.
This commit is contained in:
parent
79564bf997
commit
16f87d883b
1 changed files with 4 additions and 1 deletions
|
@ -404,7 +404,10 @@ (define (zabbix-server-shepherd-service config)
|
||||||
/etc/ssl/certs"
|
/etc/ssl/certs"
|
||||||
"SSL_CERT_FILE=/run/current-system/profile\
|
"SSL_CERT_FILE=/run/current-system/profile\
|
||||||
/etc/ssl/certs/ca-certificates.crt")))
|
/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
|
(define zabbix-server-service-type
|
||||||
(service-type
|
(service-type
|
||||||
|
|
Loading…
Reference in a new issue