adds monit example

This commit is contained in:
Marvin Steadfast 2021-01-27 09:49:53 +01:00
parent b05431d00d
commit 692202e108

4
init/monit/wg-quicker Normal file
View File

@ -0,0 +1,4 @@
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