keepalived: set default run directory for pid file on build
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 4 Nov 2019 12:24:34 +0000 (13:24 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 3 Feb 2021 09:04:59 +0000 (10:04 +0100)
commitdee2e818b9b2c6bc6e82b8e040095b908fa49e49
tree5ebb22660cc0ce72e0c4f515ceb0689ac8470dcd
parent2888560b932c11aba025619263b61e61d13b74da
keepalived: set default run directory for pid file on build

This fixes a runtime startup error on system which does not have a
toplevel runtime directory for the pid file. On openwrt the pid is
located at /var/run and not on /run. To fix that add a configure option to
move the pid location to /var/run.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit bc98aaa3f711f1cd6f7fa3a65da43411c2db98aa)

* Patch adapted for the branch so that it can be applied correctly
net/keepalived/Makefile