Comment 56 for bug 1832182

Revision history for this message
Paride Legovini (paride) wrote :

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.