Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Colleagues and ClamAV-Users
This proposed PR might break your deployment, as it aims for removing PidFile options completely from the project. It is my first PR and I might have missed things.
The handling of PID-files should be taken care of by the init system / service manager. The Fedora/EPEL RPMS does apparently not rely on ClamAV-Managed PID-files, hence PID-files are completely removed in this proposed PR. OpenRC should also able to handle PID-files so there seems to be no need for ClamAV to handle any PID-Files.
This PR will do the opposite of the original proposal by @orlitzky :
Bug 12595 - Add -p (--pidfile) flags for clamonacc, clamav-milter, and clamd
This PR reduces the codebase by 155 lines. It will make handling for users easier, as the PidFile is gone from the conf and freshclam parameter.
This PR may break packaging. Please check if this PR integrates with your stack if if you need support doing so. I'll be happy to support you. My sincere thanks to @orlitzky and @micahsnyder for the motivating replies to my questions.
Best regards,
Hanspeter