mirror of
https://github.com/andrey271192/WARP-Web-UI.git
synced 2026-09-20 11:55:34 +00:00
21 lines
491 B
Desktop File
21 lines
491 B
Desktop File
[Unit]
|
|
Description=WARP Web UI Controller
|
|
After=network-online.target warp-svc.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=@ENV_FILE@
|
|
ExecStart=/usr/bin/python3 @INSTALL_DIR@/app.py
|
|
Restart=always
|
|
RestartSec=2
|
|
User=root
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
ReadWritePaths=/run /var/log /etc/default /etc/warp-webui /var/backups/warp-webui /etc/sysctl.d /etc/nftables.conf /etc/iptables
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|