mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
captive_portal service must run as root
This commit is contained in:
parent
74fb19864f
commit
5674675ef9
2 changed files with 6 additions and 6 deletions
|
@ -6,8 +6,8 @@
|
|||
template:
|
||||
src: roles/network/templates/captive_portal/captive_portal.py.j2
|
||||
dest: /opt/iiab/captive-portal/captive_portal.py
|
||||
owner: iiab-admin
|
||||
group: iiab-admin
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0740
|
||||
when: py_captive_portal_install
|
||||
|
||||
|
@ -15,8 +15,8 @@
|
|||
template:
|
||||
src: roles/network/templates/captive_portal/captive_portal.service.j2
|
||||
dest: /etc/systemd/system/captive_portal.service
|
||||
owner: iiab-admin
|
||||
group: iiab-admin
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
when: py_captive_portal_install
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@ After=syslog.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=iiab-admin
|
||||
Group=iiab-admin
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/opt/iiab/captive-portal
|
||||
ExecStart=/opt/iiab/captive-portal/captive_portal.py
|
||||
StandardOutput=syslog
|
||||
|
|
Loading…
Reference in a new issue