keepalived: add startup and shutdown script handling
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 20 Oct 2023 08:59:53 +0000 (10:59 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 30 Oct 2023 13:09:36 +0000 (14:09 +0100)
commiteb2ed206454ac72c73f0af0f5386cb7f5d79672d
tree718dcd06252c908a454fa7cfbf51fa4aee3e68a3
parentac9973bc119b48dea57b146bd9d1f6c8f62311ab
keepalived: add startup and shutdown script handling

The keepalived does support script call handling on start and stop.

All scripts located under '/etc/hotplug.d/keepalived' gets now called
with the env ACTION set to startup or shutdown. The script that want to
get called on this keepalived events could evalutate this env to run on
startup or shutdown.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/keepalived/Makefile
net/keepalived/files/keepalived.init