apache2ctl v. systemctl [action] apache2.service

Leroy Tennison leroy at datavoiceint.com
Tue Jul 23 15:00:13 UTC 2019


This has been my experience with systemd and other daemons, if systemd (systemctl) wasn't used to make the change (maybe 'service' was used or 'kill') then systemd erroneously assumes that nothing has changed and doesn't check reality.

________________________________
From: ubuntu-server <ubuntu-server-bounces at lists.ubuntu.com> on behalf of Andreas Hasenack <andreas at canonical.com>
Sent: Tuesday, July 23, 2019 9:41:48 AM
To: Bill Parker <bill at zeltus.eu>
Cc: ubuntu-server <ubuntu-server at lists.ubuntu.com>
Subject: [EXTERNAL] Re: apache2ctl v. systemctl [action] apache2.service

Hi there,


Harriscomputer

Register now for the dataVoice User Conference,
October 9-11 at the Gaylord Rockies in Denver, CO.
To register click Here<https://www.harriscomputer.com/en/events/>


Leroy Tennison
Network Information/Cyber Security Specialist
E: leroy at datavoiceint.com


[cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]


2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com<http://www..com>


This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc. These companies are listed here<http://subscribe.harriscomputer.com/>.

If you prefer not to be contacted by Harris Operating Group please notify us<http://subscribe.harriscomputer.com/>.



This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message.





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.

--
ubuntu-server mailing list
ubuntu-server at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20190723/a4e90692/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 8276 bytes
Desc: Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20190723/a4e90692/attachment-0001.png>


More information about the ubuntu-server mailing list