Browse Source

Change upstart stop consul result

pull/914/head
Maxim N. Kostrikin 10 years ago
parent
commit
4812e0c652
  1. 2
      terraform/aws/scripts/upstart.conf

2
terraform/aws/scripts/upstart.conf

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

Loading…
Cancel
Save