salt-syndic.upstart.rhel6 358 B

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