From e431acfecdbfe42c0f8b67bf7577ae693b1fbd4f Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Mon, 7 Apr 2014 12:05:19 +0200 Subject: [PATCH] reduce stop timeout to 3 sec instead of 30 --- conf/init-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/init-script b/conf/init-script index 6e9157f..a2cad86 100644 --- a/conf/init-script +++ b/conf/init-script @@ -90,7 +90,7 @@ do_stop() # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. - start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 \ + start-stop-daemon --stop --quiet --oknodo --retry=0/3/KILL/5 \ --exec $DAEMON [ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit.