Bug#990580: apache2: [regression] daily cron mails from logrotate: Reloading Apache httpd web server: apache2.
Debian Apache Maintainers,
DSL> Which init system are you using?
The answer was in TG's original bug report:
Init: sysvinit (via /sbin/init)
I believe that this regression only occurs for non-systemd init systems
Popcon says sysvinit-core is installed on 0.88% of reporting systems:
Some of those may be pre-Jessie, so the percentage could be even lower.
On Tue, 6 Jul 2021 13:56:21 +0200, Adam Borowski wrote:
> + if pgrep -f ^/usr/sbin/apache2 > /dev/null; then
> + invoke-rc.d apache2 reload
> + fi
> Changing querying status to pgrep is also bogus: it will detect any apache2
> process rather than just ours. ...
How could there be a /usr/sbin/apache2 process that is not ours?
Any suggestions for improving this (after bullseye release, of course)?