From 8f169507dfbf1ab38396cc7e5055302da602bffb Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 13 Dec 2022 13:02:00 +0100 Subject: [PATCH] Korrigiere Pfad zu systemctl --- templates/monit.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/monit.j2 b/templates/monit.j2 index 853b083..3b1003b 100644 --- a/templates/monit.j2 +++ b/templates/monit.j2 @@ -1,4 +1,4 @@ check process lstu with pidfile {{ lstu.path }}/script/hypnotoad.pid - start program = "/usr/bin/systemctl start {{ lstu_service }}" - stop program = "/usr/bin/systemctl stop {{ lstu_service }}" + start program = "/bin/systemctl start {{ lstu_service }}" + stop program = "/bin/systemctl stop {{ lstu_service }}" if failed host {{ ansible_default_ipv4.address }} port 8080 with timeout 15 seconds for 3 times within 4 cycles then restart