salt-common/sls/uwsgi/init.sls
2019-06-07 19:00:23 +03:00

23 lines
401 B
YAML

# -*- 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