mirror of https://github.com/status-im/consul.git
removed kill signal INT from upstart
This commit is contained in:
parent
af28f3068e
commit
ae974bc824
|
@ -32,5 +32,3 @@ sudo chown root:root /tmp/upstart.conf
|
||||||
sudo chown root:root /tmp/upstart-join.conf
|
sudo chown root:root /tmp/upstart-join.conf
|
||||||
sudo mv /tmp/upstart.conf /etc/init/consul.conf
|
sudo mv /tmp/upstart.conf /etc/init/consul.conf
|
||||||
sudo mv /tmp/upstart-join.conf /etc/init/consul-join.conf
|
sudo mv /tmp/upstart-join.conf /etc/init/consul-join.conf
|
||||||
echo "Installed upstart"
|
|
||||||
sudo initctl list
|
|
||||||
|
|
|
@ -6,8 +6,6 @@ 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
|
||||||
|
|
|
@ -52,4 +52,4 @@ variable "tagName" {
|
||||||
variable "platform" {
|
variable "platform" {
|
||||||
default = "ubuntu"
|
default = "ubuntu"
|
||||||
description = "The OS Platform"
|
description = "The OS Platform"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue