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