salt-common/sls/uwsgi/init.sls

23 lines
401 B
Plaintext
Raw Normal View History

2017-05-20 19:40:31 +00:00
# -*- mode: yaml -*-
include:
- augeas
- gentoo.makeconf
- python
- uwsgi.pkg
uwsgi:
service.running:
- enable: True
- watch:
- pkg: www-servers/uwsgi
- pkg: python2
- pkg: python3
# TODO: more watch deps to restart on updates
- file: /etc/conf.d/uwsgi
- file: /etc/uwsgi.d/
uwsgi-reload:
service.running:
- name: uwsgi
- reload: True