mirror of
https://github.com/WGDashboard/WGDashboard.git
synced 2026-08-04 06:53:00 +00:00
18 lines
430 B
Desktop File
18 lines
430 B
Desktop File
[Unit]
|
|
After=syslog.target network-online.target
|
|
Wants=wg-quick.target
|
|
ConditionPathIsDirectory=/etc/wireguard
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/opt/wgdashboard/src/gunicorn.pid
|
|
WorkingDirectory=/opt/wgdashboard/src
|
|
ExecStart=/opt/wgdashboard/src/wgd.sh start
|
|
ExecStop=/opt/wgdashboard/src/wgd.sh stop
|
|
ExecReload=/opt/wgdashboard/src/wgd.sh restart
|
|
TimeoutSec=120
|
|
PrivateTmp=yes
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |