6 lines
277 B
Plaintext
6 lines
277 B
Plaintext
|
check host wireguard address {{ monit_wireguard_ip }}
|
||
|
start program = "/usr/bin/s6-svc -u /var/run/s6/services/wireguard"
|
||
|
stop program = "/usr/bin/s6-svc -d /var/run/s6/services/wireguard"
|
||
|
if failed ping then alert
|
||
|
if failed ping for 5 cycles then restart
|