Skip to content

Commit

Permalink
Merge pull request #48 from noazark/consul-stop-signal
Browse files Browse the repository at this point in the history
Gracefully Leave Cluster w/ SIGINT
  • Loading branch information
johnbellone committed Sep 29, 2014
2 parents a5d9987 + ea22e18 commit 4afbc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/consul-init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ case "$1" in
stop)
if is_running; then
echo -n "Stopping $NAME..."
kill `get_pid`
kill -INT `get_pid`
for i in {1..10}
do
if ! is_running; then
Expand Down

0 comments on commit 4afbc3e

Please sign in to comment.