realms-wiki/srv/salt/supervisor/init.sls
Matthew Scragg c201072ecc salt changes
2014-01-16 16:17:03 -06:00

10 lines
282 B
Plaintext

/etc/supervisor/conf.d/realms.conf:
file.managed:
- source: salt://supervisor/supervisord.conf
supervisor-run:
cmd.run:
- unless: test -e /tmp/supervisord.pid
- name: /usr/local/bin/supervisord
- require:
- file.managed: /etc/supervisor/conf.d/realms.conf