19 lines
410 B
Desktop File
19 lines
410 B
Desktop File
[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
|