apache2ctl v. systemctl [action] apache2.service
Andreas Hasenack
andreas at canonical.com
Tue Jul 23 14:41:48 UTC 2019
Hi there,
On Tue, Jul 23, 2019 at 8:50 AM Bill Parker <bill at zeltus.eu> wrote:
>
> What are the pros/cons of using
>
> apache2ctl stop|start|restart|etc
>
> instead of
>
> systemctl start|stop|restart|etc apache2.service
I recall two recent bugs related to your question:
"systemd unable to detect running apache if invoked via "apache2ctl graceful""
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1832182
and
"systemctl disable apache2 does nothing"
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1787225
This last one is still unconfirmed.
More information about the ubuntu-server
mailing list