From 0b4db120c8b6b57b92c98f3159015e5977e5190a Mon Sep 17 00:00:00 2001 From: kai Date: Sun, 26 Apr 2026 16:06:50 +0000 Subject: [PATCH] keepalive Bug fix und Stop add MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ein Bug wurde gefixt und eine Benachrichtigung beim service Stop hinzugefügt --- keepalived.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/keepalived.conf b/keepalived.conf index 29c61a5..526efca 100644 --- a/keepalived.conf +++ b/keepalived.conf @@ -1,7 +1,3 @@ -notify_master "/usr/local/bin/failover.sh MASTER" -notify_backup "/usr/local/bin/failover.sh BACKUP" -notify_fault "/usr/local/bin/failover.sh FAULT" - vrrp_script chk_pihole { script "/usr/local/bin/check_pihole.sh" interval 2 @@ -32,4 +28,9 @@ vrrp_instance VI_PIHole { track_script { chk_pihole } + +notify_master "/usr/local/bin/failover.sh MASTER" +notify_backup "/usr/local/bin/failover.sh BACKUP" +notify_fault "/usr/local/bin/failover.sh FAULT" +notify_stop "/usr/local/bin/failover.sh STOP" } \ No newline at end of file