Comment 2 for bug 112991

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

Though I don't agree that the possibility of having a symlink to logs in /etc/apache2 urges to change something (etc is configuration, not a place for logging), this grep has two main (other) disadvantages:

1. It reads an unkown number of files without reason (remember: a dedicated host might have hundreds of files and symlinks in sites-enabled|sites-available.
2. It would even parse a file like apache.conf.backup and check if there is a pid to kill.

Therefore I'd only parse .conf files or better apache2.conf as this is the place to configure the location of the PidFile. Besides this would solve the mentioned problem.

Maybe this should be filed upstream.