lib/generators/kapify/resque/templates/resque_init.erb in kapify-0.0.14 vs lib/generators/kapify/resque/templates/resque_init.erb in kapify-0.0.15
- old
+ new
@@ -56,10 +56,10 @@
local pidfile
for i in $(seq 1 $COUNT); do
pidfile=$(printf "$PIDFILE" $i)
-if start-stop-daemon --stop --quiet --oknodo --pidfile $pidfile
+if start-stop-daemon --stop --signal=QUIT --quiet --oknodo --pidfile $pidfile
then
log_daemon_msg "Stopped Resque worker #$i for $NAME"
rm -f $pidfile
else
log_failure_msg "Failed to stop Resque worker #$i for $NAME!" >&2