diff --git a/roles/monit/templates/pf-ui b/roles/monit/templates/pf-ui new file mode 100644 index 0000000..ac00d97 --- /dev/null +++ b/roles/monit/templates/pf-ui @@ -0,0 +1,5 @@ +check process pf-ui matching /usr/local/bin/pf-ui + start program = "/usr/bin/systemctl start pf-ui" + stop program = "/usr/bin/systemctl stop pf-ui" + if does not exist then alert + if does not exist for 2 cycles then restart