exit codes workaround

This commit is contained in:
Sean Channel 2012-12-13 15:12:01 -08:00
parent 16532f3e3a
commit 91ee888042
3 changed files with 9 additions and 3 deletions

View File

@ -5,4 +5,7 @@ start on (net-device-up
and runlevel [2345])
stop on runlevel [!2345]
# work-around for unpredictable exit codes
normal exit 0 1 9 15 143 SIGTERM SIGKILL
exec /usr/bin/salt-master >/dev/null 2>&1

View File

@ -1,8 +1,11 @@
description "salt-minion"
description "Salt Minion"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [!2345]
# work-around for unpredictable exit codes
normal exit 0 1 9 15 143 SIGTERM SIGKILL
exec /usr/bin/salt-minion >/dev/null 2>&1

View File

@ -5,7 +5,7 @@ start on (net-device-up
and runlevel [2345])
stop on runlevel [!2345]
respawn limit 10 5
respawn
# work-around for unpredictable exit codes
normal exit 0 1 9 15 143 SIGTERM SIGKILL
exec /usr/bin/salt-syndic >/dev/null 2>&1