Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include:
- - supervisor
- {% for process_id in range(3) %}
- celeryd:celeryd_{{ '%02d'|format(process_id) }}:
- supervisord.running:
- - update: True
- - watch:
- - file: /etc/supervisor/conf.d/celeryd.conf
- - require:
- - pkg: supervisor
- {% endfor %}
- /etc/supervisor/conf.d/celeryd.conf:
- file.managed:
- - source: salt://files/celeryd.supervisor.conf
- - watch_in:
- - service: supervisor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement