1 |
diff -Nur --no-dereference e-smith-radiusd-2.6.0.old/createlinks e-smith-radiusd-2.6.0/createlinks |
2 |
--- e-smith-radiusd-2.6.0.old/createlinks 2022-04-17 14:14:57.613000000 -0400 |
3 |
+++ e-smith-radiusd-2.6.0/createlinks 2022-04-17 14:28:54.067000000 -0400 |
4 |
@@ -80,6 +80,8 @@ |
5 |
|
6 |
$event="e-smith-radiusd-update"; |
7 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/radiusd"); |
8 |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog"); |
9 |
+templates2events("/etc/rsyslog.conf",$event); |
10 |
# systemd-specific action mandatory for this package-update event |
11 |
event_link("systemd-reload", $event, "89"); |
12 |
event_link("systemd-default", $event, "88"); |
13 |
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 |
14 |
--- e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32radius 1969-12-31 19:00:00.000000000 -0500 |
15 |
+++ e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32radius 2022-04-17 14:24:04.776000000 -0400 |
16 |
@@ -0,0 +1,4 @@ |
17 |
+#radiusd daemon |
18 |
+:programname, startswith, "radiusd" /var/log/radius/daemon.log |
19 |
+& stop |
20 |
+ |
21 |
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 |
22 |
--- e-smith-radiusd-2.6.0.old/root/etc/logrotate.d/radiusd-sme 1969-12-31 19:00:00.000000000 -0500 |
23 |
+++ e-smith-radiusd-2.6.0/root/etc/logrotate.d/radiusd-sme 2022-04-17 14:20:11.303000000 -0400 |
24 |
@@ -0,0 +1,13 @@ |
25 |
+/var/log/radius/daemon.log { |
26 |
+ monthly |
27 |
+ rotate 4 |
28 |
+ create |
29 |
+ missingok |
30 |
+ compress |
31 |
+ delaycompress |
32 |
+ sharedscripts |
33 |
+ postrotate |
34 |
+ /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true |
35 |
+ endscript |
36 |
+} |
37 |
+ |