add notify script

This commit is contained in:
Bertrand Gouny 2015-06-16 14:09:20 +02:00
parent 84c261f102
commit 00a8279068
1 changed files with 0 additions and 4 deletions

View File

@ -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