mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
exit codes workaround
This commit is contained in:
parent
16532f3e3a
commit
91ee888042
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user