Package: apache2
Version: 2.4.46-1
Severity: minor
Hi,
Currently, httpd's systemd configuration uses `apachectl stop` for ExecStop. This means that by default, httpd is shutdown by `systemctl stop` using the abrupt TERM signal instead of the graceful WINCH. I think graceful shutdown is a safer and more sensible default config; nginx has used graceful shutdown for a long time now:
I think the only modification required for this is the following replacement for the `ExecStop=...` line in `debian/apache2.service` and `debian/apache2@.service`:
ExecStop=/usr/sbin/apachectl graceful-stop
KillMode=mixed
Regards,
DJ