keepalived: fix dnsmasq reload
authorFrancesco Benini <francy.benini@gmail.com>
Sat, 19 Oct 2024 23:31:11 +0000 (01:31 +0200)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Tue, 22 Oct 2024 13:46:27 +0000 (15:46 +0200)
When "set_reload_if_sync" is set, the service is reloaded when the
configuration changes. For dnsmasq this means that the service, if
stopped, is started, and we don't want this in the backup node.

Signed-off-by: Francesco Benini <francy.benini@gmail.com>
net/keepalived/files/etc/hotplug.d/keepalived/551-dnsmasq

index a9b3c79e395fe652f3b69b4810d16fbee184ab3e..82545212123fc7943ba8ece5e0592cbec7756d1d 100644 (file)
@@ -7,7 +7,6 @@ set_service_name dnsmasq
 
 set_restart_if_master
 set_stop_if_backup
-set_reload_if_sync
 
 add_sync_file /etc/config/dhcp
 add_sync_file /tmp/dhcp.leases