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:
parent
e51477e48c
commit
129f1d06a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user