Still
This commit is contained in:
parent
7c8332932a
commit
0e81e371ce
|
@ -56,10 +56,10 @@ if [ ! -z "$RELOAD_ZONES" ]; then
|
|||
$sudo rndc reload "$zone" > /dev/null || echo "Cannot reload bind for zone $zone" >> "$DOMAIN_LOG_FILE"
|
||||
done
|
||||
fi
|
||||
if [ -x /usr/sbin/apache ]; then
|
||||
$sudo invoke-rc.d apache reload > /dev/null || echo "Cannot restart apache" >> "$DOMAIN_LOG_FILE"
|
||||
if [ -x /usr/sbin/apachectl ]; then
|
||||
$sudo /usr/sbin/apachectl graceful > /dev/null || echo "Cannot restart apache" >> "$DOMAIN_LOG_FILE"
|
||||
fi
|
||||
if [ -x /usr/sbin/apache2 ]; then
|
||||
$sudo invoke-rc.d apache2 reload > /dev/null || echo "Cannot restart apache" >> "$DOMAIN_LOG_FILE"
|
||||
if [ -x /usr/sbin/apache2ctl ]; then
|
||||
$sudo /usr/sbin/apache2ctl graceful > /dev/null || echo "Cannot restart apache" >> "$DOMAIN_LOG_FILE"
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -108,7 +108,7 @@ fi
|
|||
mv "$tempo" "$VHOST_FILE"
|
||||
|
||||
# Reload web and dns
|
||||
alternc_reload all
|
||||
/usr/bin/alternc_reload all
|
||||
|
||||
# TODO reload slaves
|
||||
|
||||
|
|
Loading…
Reference in New Issue