wireguard-setup/systemd/vpnclient-wg-restart.timer

13 lines
177 B
SYSTEMD

[Unit]
Description=Reconnect to WireGuard if down
[Timer]
OnBootSec=5m
OnUnitActiveSec=1m
Persistent=False
Unit=vpnclient-wg-restart.service
[Install]
WantedBy=timers.target