diff --git a/terraform/aws/scripts/upstart.conf b/terraform/aws/scripts/upstart.conf index 7c050dc011..bf1a693324 100644 --- a/terraform/aws/scripts/upstart.conf +++ b/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