From 1c354a554b8639c35cd135abce5b8d4fc693bde5 Mon Sep 17 00:00:00 2001 From: kemonine Date: Tue, 15 Sep 2020 23:13:25 +0000 Subject: [PATCH] Tweak monit config for new pf-ui daemon --- roles/monit/tasks/frame.yml | 4 ++-- roles/monit/templates/fim | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 roles/monit/templates/fim diff --git a/roles/monit/tasks/frame.yml b/roles/monit/tasks/frame.yml index 34f3303..276b52f 100644 --- a/roles/monit/tasks/frame.yml +++ b/roles/monit/tasks/frame.yml @@ -57,8 +57,8 @@ - monit-wireguard - name: Setup slideshow monitoring template: - src: fim - dest: "/etc/monit/conf.d/fim" + src: pf-ui + dest: "/etc/monit/conf.d/pf-ui" owner: root group: root mode: 0600 diff --git a/roles/monit/templates/fim b/roles/monit/templates/fim deleted file mode 100644 index d81bc2c..0000000 --- a/roles/monit/templates/fim +++ /dev/null @@ -1,5 +0,0 @@ -check process fim matching /usr/bin/fim - start program = "/usr/bin/systemctl start fim" - stop program = "/usr/bin/systemctl stop fim" - if does not exist then alert - if does not exist for 2 cycles then restart