Created
October 3, 2013 20:14
-
-
Save anveo/6816398 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Salt Minion" | |
start on (net-device-up | |
and local-filesystems | |
and runlevel [2345]) | |
stop on runlevel [!2345] | |
# The respawn in the minion is known to cause problems | |
# because if the main minion process dies it has done | |
# so most likely for a good reason. Uncomment these | |
# two lines to enable respawn | |
#respawn | |
#respawn limit 10 5 | |
script | |
# Read configuration variable file if it is present | |
[ -f /etc/default/$UPSTART_JOB ] && . /etc/default/$UPSTART_JOB | |
exec /usr/bin/python /usr/local/bin/salt-minion | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment