Workaround for existing keepalived.pid file

Fixes issue where keepalived will not restart after container failure.
Removes keepalived.pid file if one exists on container startup.

Change-Id: I6ec3297a5e49a4d5255323aa7f75dfdc10d0c5ec
Closes-Bug: #1485079
This commit is contained in:
Duane DeCapite 2015-08-20 19:51:57 -04:00
parent e51477e48c
commit 129f1d06a1

View File

@ -12,4 +12,9 @@ set_configs
modprobe ip_vs
# Workaround for bug #1485079
if [ -f /run/keepalived.pid ]; then
rm /run/keepalived.pid
fi
exec $CMD $ARGS