Commit 8b1e5e43 authored by fred's avatar fred

update filenames to apache2

parent fbc98121
......@@ -31,7 +31,7 @@
require("/var/alternc/bureau/class/local.php");
$FILES_OWNER = 33;
$APACHE_LOG = '/var/log/apache/access.log.1';
$APACHE_LOG = '/var/log/apache2/access.log.1';
umask(0177);
$hosts = array();
$nolog_hosts = array();
......
......@@ -243,7 +243,7 @@ if [ ! -z "$RELOAD_ZONES" ]; then
rndc reload "$zone" > /dev/null || echo "Cannot reload bind for zone $zone" >> "$DOMAIN_LOG_FILE"
done
fi
apachectl graceful > /dev/null || echo "Cannot restart apache" >> "$DOMAIN_LOG_FILE"
apache2ctl graceful > /dev/null || echo "Cannot restart apache" >> "$DOMAIN_LOG_FILE"
fi
# Cleanup
......
Markdown is supported
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