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