Change upstart stop consul result

This commit is contained in:
Maxim N. Kostrikin 2015-05-07 16:49:23 +05:00
parent 204c11ec01
commit 4812e0c652
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ stop on runlevel [!2345]
respawn
# This is to avoid Upstart re-spawning the process upon `consul leave`
normal exit 0 INT
# stop consul will not mark node as failed but left
kill signal INT
script
if [ -f "/etc/service/consul" ]; then