Commit 7774f901 authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

always reload on localhost, we assume the master runs apache and bind

parent 13b888cb
......@@ -241,11 +241,10 @@ IFS="$OLD_IFS"
RELOAD_ZONES=`cat "$RELOAD_ZONES_TMP_FILE"`
alternc_reload $RELOAD_ZONES
for slave in $ALTERNC_SLAVES; do
if [ "$slave" = "localhost" ]; then
alternc_reload $RELOAD_ZONES
else
ssh alternc@$slave /usr/sbin/alternc_reload "$RELOAD_ZONES"
if [ "$slave" != "localhost" ]; then
ssh alternc@$slave alternc_reload "$RELOAD_ZONES"
fi
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment