salt/pkg/salt-syndic.upstart.rhel6
2014-03-25 16:10:08 -06:00

15 lines
358 B
Plaintext

description "salt-syndic"
start on runlevel [2345]
stop on runlevel [!2345]
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
exec salt-syndic
end script