Skip to content

Commit

Permalink
change SIGTERM to SIGQUIT
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Nov 8, 2012
1 parent 55bcd56 commit 41ec515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mongroup
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ stop() {
local name=${NAMES[i]}
if [ -z "$app" -o "$app" == "$name" ]; then
printf " \e[36m%10s\e[m : %s\n" "stop" $name
kill -s SIGTERM $(cat $PIDS/$name.mon.pid) 2> /dev/null
kill -s SIGQUIT $(cat $PIDS/$name.mon.pid) 2> /dev/null
fi
done
}
Expand Down

0 comments on commit 41ec515

Please sign in to comment.