--- rpms/smeserver-clamav/sme10/smeserver-clamav-2.7.0-bz11103-improvements.patch 2021/01/03 04:31:04 1.1 +++ rpms/smeserver-clamav/sme10/smeserver-clamav-2.7.0-bz11103-improvements.patch 2021/01/08 16:04:19 1.3 @@ -48,7 +48,7 @@ diff -Nur smeserver-clamav-2.7.0.old/cre +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event ); +templates2events("/etc/cron.daily/freshclam", $event ); +templates2events("/etc/cron.d/clamav-update", $event ); -+safe_touch("root/etc/e-smith/templates/etc/cron.daily/freshclam"); ++ +safe_touch("root/etc/e-smith/templates/etc/cron.d/clamav-update"); event_link("systemd-default", $event, "88"); # updates all the service files etc event_link("systemd-reload", $event, "89"); # systemctl daemon-reload @@ -188,3 +188,11 @@ diff -Nur smeserver-clamav-2.7.0.old/roo [Install] -WantedBy=multi-user.target +WantedBy=sme-server.target +diff -Nur smeserver-clamav-2.7.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam smeserver-clamav-2.7.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam +--- smeserver-clamav-2.7.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam 1969-12-31 19:00:00.000000000 -0500 ++++ smeserver-clamav-2.7.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam 2013-01-31 16:31:43.000000000 -0500 +@@ -0,0 +1,4 @@ ++#! /bin/sh ++# We do not run freshclam here, because an always-running supervised freshclam ++# is used in SME Server ++exit 0