19 lines
331 B
Desktop File
19 lines
331 B
Desktop File
[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
|