ansible/roles/monit/templates/wireguard

6 lines
258 B
Plaintext
Raw Normal View History

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 does not exist then alert
if does not exist for 3 cycles then restart