mirror of https://github.com/status-im/consul.git
Change upstart stop consul result
This commit is contained in:
parent
204c11ec01
commit
4812e0c652
|
@ -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…
Reference in New Issue