6 lines
242 B
Plaintext
6 lines
242 B
Plaintext
check host wireguard address {{ monit_wireguard_ip }}
|
|
start program = "/usr/bin/systemctl start wg-quick@wg0"
|
|
stop program = "/usr/bin/systemctl stop wg-quick@wg0"
|
|
if failed then alert
|
|
if failed for 3 cycles then restart
|