mirror of https://github.com/status-im/consul.git
Upstart: Consul leave now works as expected.
This commit is contained in:
parent
f77419dbf9
commit
9bba0cb2c0
|
@ -4,6 +4,8 @@ start on runlevel [2345]
|
|||
stop on runlevel [!2345]
|
||||
|
||||
respawn
|
||||
# This is to avoid Upstart re-spawning the process upon `consul leave`
|
||||
normal exit 0 INT
|
||||
|
||||
script
|
||||
if [ -f "/etc/service/consul" ]; then
|
||||
|
|
Loading…
Reference in New Issue