mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Change upstart stop consul result
This commit is contained in:
parent
204c11ec01
commit
4812e0c652
@ -6,6 +6,8 @@ stop on runlevel [!2345]
|
|||||||
respawn
|
respawn
|
||||||
# This is to avoid Upstart re-spawning the process upon `consul leave`
|
# This is to avoid Upstart re-spawning the process upon `consul leave`
|
||||||
normal exit 0 INT
|
normal exit 0 INT
|
||||||
|
# stop consul will not mark node as failed but left
|
||||||
|
kill signal INT
|
||||||
|
|
||||||
script
|
script
|
||||||
if [ -f "/etc/service/consul" ]; then
|
if [ -f "/etc/service/consul" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user