1 |
diff -urN smeserver-arpwatch-0.3.old/root/etc/e-smith/templates/etc/logrotate.d/arpwatch/10All smeserver-arpwatch-0.3/root/etc/e-smith/templates/etc/logrotate.d/arpwatch/10All |
2 |
--- smeserver-arpwatch-0.3.old/root/etc/e-smith/templates/etc/logrotate.d/arpwatch/10All 1970-01-01 02:00:00.000000000 +0200 |
3 |
+++ smeserver-arpwatch-0.3/root/etc/e-smith/templates/etc/logrotate.d/arpwatch/10All 2022-04-21 11:59:20.528181010 +0300 |
4 |
@@ -0,0 +1,8 @@ |
5 |
+/var/log/arpwatch.log \{ |
6 |
+ missingok |
7 |
+ weekly |
8 |
+ rotate 24 |
9 |
+ compress |
10 |
+ notifempty |
11 |
+ copytruncate |
12 |
+\} |
13 |
diff -urN smeserver-arpwatch-0.3.old/root/etc/e-smith/templates/etc/rsyslog.conf/32arpwatch smeserver-arpwatch-0.3/root/etc/e-smith/templates/etc/rsyslog.conf/32arpwatch |
14 |
--- smeserver-arpwatch-0.3.old/root/etc/e-smith/templates/etc/rsyslog.conf/32arpwatch 1970-01-01 02:00:00.000000000 +0200 |
15 |
+++ smeserver-arpwatch-0.3/root/etc/e-smith/templates/etc/rsyslog.conf/32arpwatch 2022-04-21 11:55:07.660153517 +0300 |
16 |
@@ -0,0 +1,4 @@ |
17 |
+ |
18 |
+#arpwatch |
19 |
+:programname, isequal, "arpwatch" /var/log/arpwatch.log |
20 |
+& stop |