mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-06 16:00:28 +01:00
15 lines
305 B
Desktop File
15 lines
305 B
Desktop File
[Unit]
|
|
After=syslog.target network-online.target
|
|
ConditionPathIsDirectory=/etc/wireguard
|
|
|
|
[Service]
|
|
Environment="VIRTUAL_ENV={{VIRTUAL_ENV}}"
|
|
WorkingDirectory={{APP_ROOT}}
|
|
ExecStart={{VIRTUAL_ENV}}/bin/python3 {{APP_ROOT}}/dashboard.py
|
|
PrivateTmp=yes
|
|
Restart=always
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|