mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
do not put uwsgi ini file in apps-enabled
This commit is contained in:
parent
c38e718e8c
commit
925a593115
2 changed files with 8 additions and 8 deletions
|
@ -39,14 +39,14 @@
|
|||
- name: Copy uWSGI config file
|
||||
template:
|
||||
src: roles/captiveportal/templates/captiveportal.ini
|
||||
dest: /etc/uwsgi/apps-available/
|
||||
dest: /opt/iiab/captiveportal/
|
||||
|
||||
- name: Enable uwsgi config for captiveportal
|
||||
file:
|
||||
src: /etc/uwsgi/apps-available/captiveportal.ini
|
||||
path: /etc/uwsgi/apps-enabled/captiveportal.ini
|
||||
state: link
|
||||
when: captiveportal_enabled | bool
|
||||
#- name: Enable uwsgi config for captiveportal
|
||||
# file:
|
||||
# src: /etc/uwsgi/apps-available/captiveportal.ini
|
||||
# path: /etc/uwsgi/apps-enabled/captiveportal.ini
|
||||
# state: link
|
||||
# when: captiveportal_enabled | bool
|
||||
|
||||
- name: Copy unit file for uWSGI service
|
||||
template:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
Description=uWSGI Service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/uwsgi --ini /etc/uwsgi/apps-enabled/captiveportal.ini
|
||||
ExecStart=/usr/bin/uwsgi --ini /opt/iiab/captiveportal/captiveportal.ini
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
KillSignal=SIGQUIT
|
||||
|
|
Loading…
Reference in a new issue