aboutsummaryrefslogtreecommitdiff
path: root/docker/keepalived
diff options
context:
space:
mode:
Diffstat (limited to 'docker/keepalived')
-rw-r--r--docker/keepalived/extend_start.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/keepalived/extend_start.sh b/docker/keepalived/extend_start.sh
index 18e71d1f7..0cb79767e 100644
--- a/docker/keepalived/extend_start.sh
+++ b/docker/keepalived/extend_start.sh
@@ -3,7 +3,9 @@
# NOTE(elemoine): keepalived cannot be configured to change the log address to
# anything other than /dev/log. Heka's log socket is at /var/lib/kolla/heka/log
# so we symlink /dev/log to that location.
-ln -sf /var/lib/kolla/heka/log /dev/log
+if [[ ! -h /dev/log ]]; then
+ ln -sf /var/lib/kolla/heka/log /dev/log
+fi
modprobe ip_vs