/[smeserver]/rpms/e-smith-radiusd/sme10/e-smith-radiusd-2.6.0-bz11947-daemon-log.patch
ViewVC logotype

Contents of /rpms/e-smith-radiusd/sme10/e-smith-radiusd-2.6.0-bz11947-daemon-log.patch

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


Revision 1.2 - (show annotations) (download)
Sun Apr 17 18:30:13 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-radiusd-2_6_0-23_el7_sme, HEAD
Changes since 1.1: +12 -0 lines
Error occurred while calculating annotation data.
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-23.sme
- redirect daemon log to its own file [SME: 11947]

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 +

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