1 |
snetram |
1.1 |
diff -up smeserver-clamav-2.0.0/createlinks.logrotate smeserver-clamav-2.0.0/createlinks |
2 |
|
|
--- smeserver-clamav-2.0.0/createlinks.logrotate 2008-10-07 17:31:08.000000000 +0200 |
3 |
|
|
+++ smeserver-clamav-2.0.0/createlinks 2009-11-06 11:06:40.000000000 +0100 |
4 |
|
|
@@ -5,7 +5,7 @@ use esmith::Build::CreateLinks qw(:all); |
5 |
|
|
my $panel = "manager"; |
6 |
|
|
panel_link("clamav", $panel); |
7 |
|
|
|
8 |
|
|
-foreach (qw(freshclam.conf clamd.conf)) |
9 |
|
|
+foreach (qw(freshclam.conf clamd.conf logrotate.d/clamscan)) |
10 |
|
|
{ |
11 |
|
|
templates2events("/etc/$_", |
12 |
|
|
qw( |
13 |
|
|
diff -up smeserver-clamav-2.0.0/root/etc/e-smith/templates/etc/logrotate.d/clamscan/00clamscan.logrotate smeserver-clamav-2.0.0/root/etc/e-smith/templates/etc/logrotate.d/clamscan/00clamscan |
14 |
|
|
--- smeserver-clamav-2.0.0/root/etc/e-smith/templates/etc/logrotate.d/clamscan/00clamscan.logrotate 2009-11-06 11:04:03.000000000 +0100 |
15 |
|
|
+++ smeserver-clamav-2.0.0/root/etc/e-smith/templates/etc/logrotate.d/clamscan/00clamscan 2009-11-06 11:04:26.000000000 +0100 |
16 |
|
|
@@ -0,0 +1,7 @@ |
17 |
|
|
+/var/log/clamd/smeserver-clamscan.log \{ |
18 |
|
|
+ missingok |
19 |
|
|
+ notifempty |
20 |
|
|
+ rotate 4 |
21 |
|
|
+ monthly |
22 |
|
|
+ create 644 root smelog |
23 |
|
|
+\} |