@cryptotaxi247 / netdata-1 / commits / ea7545cf9

increase service stop timeout to 60 seconds

Costa Tsaousis (ktsaou) committed Aug 22, 2017 at 17:42 UTC ea7545cf954c69be375234a1232517a50d013039
2 files changed +2 -2
system/netdata-init-d.in
+1 -1
@@ -15,7 +15,7 @@ DAEMON="netdata"
15 DAEMON_PATH=@sbindir_POST@
16 PIDFILE=@localstatedir_POST@/run/$DAEMON.pid
17 DAEMONOPTS="-P $PIDFILE"
18 -STOP_TIMEOUT="10"
18 +STOP_TIMEOUT="60"
19
20 [ -e /etc/sysconfig/$DAEMON ] && . /etc/sysconfig/$DAEMON
21
system/netdata-openrc.in
+1 -1
@@ -10,7 +10,7 @@
10
11 # The timeout in seconds to wait for netdata
12 # to save its database on disk and exit.
13 -: ${NETDATA_WAIT_EXIT_TIMEOUT:=15}
13 +: ${NETDATA_WAIT_EXIT_TIMEOUT:=60}
14
15 # When set to 1, if netdata does not exit in
16 # NETDATA_WAIT_EXIT_TIMEOUT, we will force it