Browse Source

Upstart: Consul leave now works as expected.

pull/878/head
Camilo Aguilar 10 years ago
parent
commit
9bba0cb2c0
  1. 2
      terraform/aws/scripts/upstart.conf

2
terraform/aws/scripts/upstart.conf

@ -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

Loading…
Cancel
Save