wireguard-monitor: Initial commit
Signed-off-by: Milan Pandurov <milanpandurov@pm.me>
This commit is contained in:
18
wireguard-monitor/wireguard-monitor.service
Normal file
18
wireguard-monitor/wireguard-monitor.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Wireguard Monitoring Service
|
||||
After=wg-quick@home.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/wireguard-reconnect
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
# User and group the service will run as (change as needed)
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user