Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable logrotate and cron job for updating clamav if clamav is disabled (fixes #660) #667

Merged
merged 1 commit into from
Jul 23, 2017

Conversation

danielpanteleit
Copy link
Contributor

This should fix #660.

Cron-Job is now written to /etc/cron.d/freshclam. On start, the cron job and logrotate files regarding clamav are removed if clamav is disabled. This means that this can not be reversed, but changing the environment should also spawn a new container with the files intact (in case someone wants to reenable clamav)

@tomav tomav merged commit 60afbe1 into docker-mailserver:master Jul 23, 2017
@tomav
Copy link
Contributor

tomav commented Jul 23, 2017

Great!

@danielpanteleit danielpanteleit deleted the issue-660 branch July 23, 2017 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should the freshclam cron job be disabled when ENABLE_CLAMAV=0?
2 participants