I have fresh Ubuntu 14.04 installation with apache2. I have noticed apache2 is not starting at the boot. I have tried to enable it with sudo update-rc.d apache2 defaults
, but it still doesn't start with the system...
Restarting using services sudo service apache2 start
works ok.
I have checked the apache2 log less /var/log/apache2/error.log
, but it seems the system doesn't start it at the boot. Any idea how to enable autostart?
HINT: My home folder is encrypted, while some websites DocumentRoot
are stored in my ~/Public folder. Thus, apache2 probably cannot start, because some encrypted folders are not mounted at boot. Is there a way of starting apache2 on login, or postponing its launch until my home filesystem is mounted?