diff --git a/init/monit/wg-quicker b/init/monit/wg-quicker new file mode 100644 index 0000000..ab23087 --- /dev/null +++ b/init/monit/wg-quicker @@ -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