mirror of
https://github.com/DJSundog/wg-portal.git
synced 2024-11-27 00:53:51 -05:00
19 lines
342 B
Desktop File
19 lines
342 B
Desktop File
[Unit]
|
|
Description=WireGuard Portal
|
|
ConditionPathExists=/opt/wg-portal/wg-portal-amd64
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
WorkingDirectory=/opt/wg-portal
|
|
ExecStart=/opt/wg-portal/wg-portal-amd64
|
|
EnvironmentFile=/opt/wg-portal/wg-portal.env
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |