From 1b232437637596b7070cd5a5eca3fea4d8a41b47 Mon Sep 17 00:00:00 2001 From: Trevor Robinson Date: Mon, 29 Aug 2016 10:15:11 -0500 Subject: [PATCH] Fix Upstart start/stop conditions for RHEL/CentOS 6 http://serverfault.com/a/643953/76832 --- templates/RedHat-vault.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/RedHat-vault.conf.j2 b/templates/RedHat-vault.conf.j2 index 5ce2901..dde0b95 100644 --- a/templates/RedHat-vault.conf.j2 +++ b/templates/RedHat-vault.conf.j2 @@ -1,8 +1,8 @@ # RHEL/CentOS 6 compatible Upstart configuration description "Vault Service" -start on (local-filesystems and net-device-up IFACE!=lo) -stop on runlevel [016] +start on (runlevel [345] and started network) +stop on (runlevel [!345] or stopping network) respawn respawn limit 10 10