From 4812e0c652bda2fe116456fcdf280086f1b5927a Mon Sep 17 00:00:00 2001 From: "Maxim N. Kostrikin" Date: Thu, 7 May 2015 16:49:23 +0500 Subject: [PATCH] Change upstart stop consul result --- terraform/aws/scripts/upstart.conf | 2 ++ 1 file changed, 2 insertions(+) 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