]> git.openstreetmap.org Git - chef.git/commitdiff
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 1b107588e429eb70f3f4eefc2206c1abd66b6413..8fb6d6bdc7d07d19eb7674b4c534c9ef856089cb 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