wgctl/daemon/wgctl-monitor.service
2026-05-06 23:02:12 +00:00

15 lines
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