I wanted to run Apache as a service so it will start on bootup, so I tried:
sudo systemctl start apache2.service
but got the error:
Failed to start apache2.service: Unit apache2.service not found.
So, apparently I need to install apache as a "service unit". The Apache documentation does not appear to have information on how to do this, just the old confusing init.d instructions which do not work anymore.
apache2
? – Nasir Riley Nov 15 '18 at 01:36systemctl list-unit-files | grep apache
? Also, did you install it viaapt
or did you compile it from source? – Nasir Riley Nov 15 '18 at 01:50