mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-19 18:24:31 +02:00
Fix 1198 freshclam (#1199)
* Run freshclam as clamav user not root * Remove freshclam cron job when clamav is disabled
This commit is contained in:
parent
70cbfa352b
commit
f21bffe322
2 changed files with 2 additions and 2 deletions
|
@ -1384,7 +1384,7 @@ function _fix_var_amavis_permissions() {
|
|||
function _fix_cleanup_clamav() {
|
||||
notify 'task' 'Cleaning up disabled Clamav'
|
||||
rm -f /etc/logrotate.d/clamav-*
|
||||
rm -f /etc/cron.d/freshclam
|
||||
rm -f /etc/cron.d/clamav-freshclam
|
||||
}
|
||||
|
||||
##########################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue