mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
17 lines
334 B
Plaintext
17 lines
334 B
Plaintext
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 2 6 9 15 143 SIGKILL SIGINT SIGABRT
|
|
respawn
|
|
respawn limit 10 5
|
|
|
|
script
|
|
export PATH=/usr/bin:$PATH
|
|
exec /usr/bin/salt-minion
|
|
end script
|