I have set up a webserver using apache with SSL on my ubuntu 12.04. However, when I bootup my webserver, apache starts and runs as root. It runs and occupies port 80, I have to stop it and manually start apache using service apache2 start for it to run as www-data
root 887 0.0 0.3 105692 6576 ? S 17:18 0:00 /usr/sbin/apache2 -k start
What is the best way to ensure on reboot, it runs with the user www-data