From 692202e108ab8862b8c17a1f5a4dd18371db4e6c Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Wed, 27 Jan 2021 09:49:53 +0100 Subject: [PATCH] adds monit example --- init/monit/wg-quicker | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 init/monit/wg-quicker 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