← Back to team overview

enterprise-support team mailing list archive

[Bug 1832182] Re: systemd unable to detect running apache if invoked via "apache2ctl graceful"

 

Hello Christoph,

`systemctl reload apache2` is indeed the same of `apache2ctl graceful`:

ExecReload=/usr/sbin/apachectl graceful

(apachectl is a symlink to apache2ctl). This said, I see the issue you
are reporting: there is effectively no easy way to do a graceful reload
of apache2 now. I think one straightforward way to fix this consists in
handling the "graceful" and "restart" commands in separate "case"
stanzas in apache2ctl.

However, at least for the devel release, I think the best way forward
would be to expand the service file to cover what apache2ctl does, and
make apache2ctl a simple compatibility wrapper around systemctl.

** Tags removed: bionic patch systemd verification-done verification-
done-bionic verification-done-focal

** Changed in: apache2 (Ubuntu)
       Status: Fix Released => Triaged

** Changed in: apache2 (Ubuntu Bionic)
       Status: Fix Released => Triaged

** Changed in: apache2 (Ubuntu Focal)
       Status: Fix Released => Triaged

** Changed in: apache2 (Ubuntu Hirsute)
       Status: Fix Released => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1832182

Title:
  systemd unable to detect running apache if invoked via "apache2ctl
  graceful"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1832182/+subscriptions



References