supybot: more aggressive init stop
authorGrant Slater <git@firefishy.com>
Sat, 22 Oct 2016 15:18:37 +0000 (16:18 +0100)
committerGrant Slater <git@firefishy.com>
Sat, 22 Oct 2016 15:18:37 +0000 (16:18 +0100)
cookbooks/supybot/templates/default/supybot.init.erb

index 1b10758..8fb6d6b 100644 (file)
@@ -7,7 +7,7 @@ start() {
 }
 
 stop() {
-  start-stop-daemon --stop --retry 300 --pidfile /var/run/supybot.pid
+  start-stop-daemon --stop --retry TERM/15/KILL/30 --pidfile /var/run/supybot.pid
 }
 
 case "$1" in