add contrib

This commit is contained in:
ac107458 committed 2023-01-13 14:05:47 +01:00
1 parent 5e1e67f2c4
commit a89e884b75
13 files changed
+678

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
[Unit]
Description=Captive Portal web ui service
Wants=basic.target
After=basic.target network.target
ConditionFileIsExecutable=/var/lib/python-capport/start-control.sh
ConditionPathIsDirectory=/var/lib/python-capport/venv
[Service]
User=capport
Type=notify
WatchdogSec=10
ExecStart=/var/lib/python-capport/start-api.sh
Restart=always
ProtectSystem=full
ProtectHome=true
[Install]
WantedBy=multi-user.target