/[smeserver]/rpms/smeserver-clamav/sme7/smeserver-clamav-2.0.0-crondaily.patch
ViewVC logotype

Contents of /rpms/smeserver-clamav/sme7/smeserver-clamav-2.0.0-crondaily.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jun 9 21:09:33 2010 UTC (14 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-12_el4_sme, HEAD
Re-work patch to improve and document template [SME: 4297]

1 diff -ruN smeserver-clamav-2.0.0.old/createlinks smeserver-clamav-2.0.0/createlinks
2 --- smeserver-clamav-2.0.0.old/createlinks 2010-06-09 20:42:15.000000000 +0100
3 +++ smeserver-clamav-2.0.0/createlinks 2010-06-09 21:56:30.000000000 +0100
4 @@ -17,6 +17,7 @@
5 }
6
7 templates2events("/etc/crontab", "clamav-update");
8 +templates2events("/etc/cron.daily/freshclam", "bootstrap-console-save");
9
10 my $event = "email-update";
11
12 diff -ruN smeserver-clamav-2.0.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam smeserver-clamav-2.0.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam
13 --- smeserver-clamav-2.0.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam 1970-01-01 01:00:00.000000000 +0100
14 +++ smeserver-clamav-2.0.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam 2010-06-09 21:57:03.000000000 +0100
15 @@ -0,0 +1,4 @@
16 +#! /bin/sh
17 +# We do not run freshclam here, because an always-running supervised freshclam
18 +# is used in SME Server
19 +exit 0
20 diff -ruN smeserver-clamav-2.0.0.old/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam smeserver-clamav-2.0.0/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam
21 --- smeserver-clamav-2.0.0.old/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam 1970-01-01 01:00:00.000000000 +0100
22 +++ smeserver-clamav-2.0.0/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam 2010-06-09 21:56:30.000000000 +0100
23 @@ -0,0 +1 @@
24 +PERMS=0755

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed