realms-wiki/srv/salt/supervisor/init.sls

17 lines
394 B
Plaintext
Raw Normal View History

2014-01-17 00:15:25 +02:00
/etc/supervisor/conf.d/realms.conf:
2013-12-02 18:02:53 +02:00
file.managed:
- source: salt://supervisor/supervisord.conf
supervisor-pip:
pip:
- name: supervisor
- installed
- require:
- pkg.installed: python-pip
supervisor-run:
cmd.run:
- unless: test -e /tmp/supervisord.pid
- name: /usr/local/bin/supervisord
- require:
2014-01-17 00:15:25 +02:00
- file.managed: /etc/supervisor/conf.d/realms.conf