From 00a82790682ef3d7d6d282712e307e9d6b4d8499 Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Tue, 16 Jun 2015 14:09:20 +0200 Subject: [PATCH] add notify script --- image/service/keepalived/container-start.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/image/service/keepalived/container-start.sh b/image/service/keepalived/container-start.sh index 7d21263..e84d7de 100755 --- a/image/service/keepalived/container-start.sh +++ b/image/service/keepalived/container-start.sh @@ -24,7 +24,6 @@ if [ ! -e "$FIRST_START_DONE" ]; then if [ -n "$KEEPALIVED_NOTIFY" ]; then sed -i "s|{{ keepalived_notify }}|notify \"$KEEPALIVED_NOTIFY\"|g" /etc/keepalived/keepalived.conf - chmod 777 $KEEPALIVED_NOTIFY else sed -i "/{{ keepalived_notify }}/d" /etc/keepalived/keepalived.conf fi @@ -60,9 +59,6 @@ if [ ! -e "$FIRST_START_DONE" ]; then sed -i "/{{ keepalived_virtual_ips }}/d" /etc/keepalived/keepalived.conf fi - cat /etc/keepalived/keepalived.conf - cat $KEEPALIVED_NOTIFY - fi touch $FIRST_START_DONE