15 lines
No EOL
336 B
Desktop File
15 lines
No EOL
336 B
Desktop File
[Unit]
|
|
Description=wgctl WireGuard Monitor Daemon
|
|
After=network.target wg-quick@wg0.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/python3 /etc/wireguard/.wgctl/daemon/wgctl-monitor.py
|
|
Restart=always
|
|
RestartSec=5
|
|
Environment=WG_INTERFACE=eth0
|
|
Environment=WG_PORT=51820
|
|
Environment=LOG_LEVEL=INFO
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |