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:
parent
ab411eda65
commit
eb39494f18
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue