1
0

salt-syndic.upstart 420 B

12345678910111213141516
  1. description "salt-syndic"
  2. start on (net-device-up
  3. and local-filesystems
  4. and runlevel [2345])
  5. stop on runlevel [!2345]
  6. script
  7. # Read configuration variable file if it is present
  8. [ -f /etc/default/$UPSTART_JOB ] && . /etc/default/$UPSTART_JOB
  9. # Activate the virtualenv if defined
  10. [ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
  11. exec salt-syndic
  12. end script