Pokud dám v /etc/init.d
apache2 -k restart
pak
apache2: bad user name ${APACHE_RUN_USER}
a v error.log není nic.
/etc/apache2/ennvars:
# envvars - default environment variables for apache2ctl
# Since there is no sane way to get the parsed apache2 config in scripts, some
# settings are defined via environment variables and then used in apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
export APACHE_PID_FILE=/var/run/apache2.pid