wg-quicker/init/monit/wg-quicker

5 lines
210 B
Plaintext

check host wg-quicker with address 10.100.100.1
start program = "/bin/bash -c '/etc/init.d/wg-quicker start'"
stop program = "/bin/bash -c '/etc/init.d/wg-quicker stop'"
if failed ping then restart