1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

handle /etc/init.d/uwsgi behavior

This commit is contained in:
Jerry Vonau 2020-01-22 14:24:23 -06:00
parent ab411eda65
commit eb39494f18

View file

@ -78,6 +78,11 @@
# enabled: False
# when: not captiveportal_enabled
- name: Stop uwsgi
systemd:
name: uwsgi
state: stopped
- name: Install uWSGI config file /etc/uwsgi/apps-enabled/captiveportal.ini from template
template:
src: captiveportal.ini.j2
@ -121,11 +126,11 @@
when: not captiveportal_enabled
# lets assume admin-console was/will be installed anyway
- name: Restart uwsgi
- name: Start uwsgi
systemd:
name: uwsgi
daemon_reload: yes
state: restarted
state: started
enabled: true
- name: Stop 'dnsmasq' systemd service