salt/pkg/salt-master.upstart

19 lines
459 B
Plaintext
Raw Normal View History

description "Salt Master"
2012-11-23 21:35:58 +00:00
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [!2345]
limit nofile 100000 100000
2012-11-23 21:35:58 +00:00
2014-06-25 20:33:56 +00:00
expect fork
script
# Read configuration variable file if it is present
[ -f /etc/default/$UPSTART_JOB ] && . /etc/default/$UPSTART_JOB
# Activate the virtualenv if defined
[ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
2014-03-25 22:10:08 +00:00
exec salt-master
end script