Merge pull request #878 from c4milo/patch-1

Upstart: Consul leave now works as expected.
pull/879/head
Armon Dadgar 2015-04-21 19:04:42 -07:00
commit d7b736fa6a
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ start on runlevel [2345]
stop on runlevel [!2345]
respawn
# This is to avoid Upstart re-spawning the process upon `consul leave`
normal exit 0 INT
script
if [ -f "/etc/service/consul" ]; then