guix-commits
[Top][All Lists]
Advanced

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

11/12: services: zabbix-server: Increase Shepherd grace period.


From: guix-commits
Subject: 11/12: services: zabbix-server: Increase Shepherd grace period.
Date: Mon, 12 Dec 2022 09:14:00 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 16f87d883b79b38da7d4297e8eb30c8f6eb735c1
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Dec 12 14:57:02 2022 +0100

    services: zabbix-server: Increase Shepherd grace period.
    
    * gnu/services/monitoring.scm (zabbix-server-shepherd-service)[stop]: Add
     #:grace-period.
---
 gnu/services/monitoring.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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



reply via email to

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