keepalived: add option to override service running check
authorFrancesco Benini <francy.benini@gmail.com>
Sat, 19 Oct 2024 22:36:07 +0000 (00:36 +0200)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Tue, 22 Oct 2024 13:46:27 +0000 (15:46 +0200)
commitea092363d93ea74799a610d2ac2e6710ae0dd3e2
tree0c97b21e033a3562bc1414b2aa879d41232279c2
parentb37e625c223a88b59e031aac83dfa40964bb4468
keepalived: add option to override service running check

Some init.d scripts like firewall and sqm do not return the actual state
of the service if called with "running" parameter. This result in the
init script called with "start" parameter and the service may not load
the new configuration. Firewall init script is one of this
An option is added in order to skip the "running" check for the service.

Signed-off-by: Francesco Benini <francy.benini@gmail.com>
net/keepalived/Makefile
net/keepalived/files/etc/hotplug.d/keepalived/511-firewall
net/keepalived/files/lib/functions/keepalived/hotplug.sh