1 |
diff -Nur --no-dereference e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32radius e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32radius |
2 |
--- e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32radius 1969-12-31 19:00:00.000000000 -0500 |
3 |
+++ e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32radius 2022-04-17 14:24:04.776000000 -0400 |
4 |
@@ -0,0 +1,4 @@ |
5 |
+#radiusd daemon |
6 |
+:programname, startswith, "radiusd" /var/log/radius/daemon.log |
7 |
+& stop |
8 |
+ |
9 |
diff -Nur --no-dereference e-smith-radiusd-2.6.0.old/root/etc/logrotate.d/radiusd-sme e-smith-radiusd-2.6.0/root/etc/logrotate.d/radiusd-sme |
10 |
--- e-smith-radiusd-2.6.0.old/root/etc/logrotate.d/radiusd-sme 1969-12-31 19:00:00.000000000 -0500 |
11 |
+++ e-smith-radiusd-2.6.0/root/etc/logrotate.d/radiusd-sme 2022-04-17 14:20:11.303000000 -0400 |
12 |
@@ -0,0 +1,13 @@ |
13 |
+/var/log/radius/daemon.log { |
14 |
+ monthly |
15 |
+ rotate 4 |
16 |
+ create |
17 |
+ missingok |
18 |
+ compress |
19 |
+ delaycompress |
20 |
+ sharedscripts |
21 |
+ postrotate |
22 |
+ /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true |
23 |
+ endscript |
24 |
+} |
25 |
+ |