diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-08-22 17:42:13 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-08-22 17:42:13 +0300 |
commit | ea7545cf954c69be375234a1232517a50d013039 (patch) | |
tree | 97e506cb88643085f5271cc73775553f0f7d874d | |
parent | fb2b99f73ed2ffe50a76f305d58df7bff217fcd1 (diff) |
increase service stop timeout to 60 seconds
-rw-r--r-- | system/netdata-init-d.in | 2 | ||||
-rw-r--r-- | system/netdata-openrc.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/netdata-init-d.in b/system/netdata-init-d.in index 468ceee2a4..90a4b95be1 100644 --- a/system/netdata-init-d.in +++ b/system/netdata-init-d.in @@ -15,7 +15,7 @@ DAEMON="netdata" DAEMON_PATH=@sbindir_POST@ PIDFILE=@localstatedir_POST@/run/$DAEMON.pid DAEMONOPTS="-P $PIDFILE" -STOP_TIMEOUT="10" +STOP_TIMEOUT="60" [ -e /etc/sysconfig/$DAEMON ] && . /etc/sysconfig/$DAEMON diff --git a/system/netdata-openrc.in b/system/netdata-openrc.in index 55808364c8..465e1232cc 100644 --- a/system/netdata-openrc.in +++ b/system/netdata-openrc.in @@ -10,7 +10,7 @@ # The timeout in seconds to wait for netdata # to save its database on disk and exit. -: ${NETDATA_WAIT_EXIT_TIMEOUT:=15} +: ${NETDATA_WAIT_EXIT_TIMEOUT:=60} # When set to 1, if netdata does not exit in # NETDATA_WAIT_EXIT_TIMEOUT, we will force it |