/[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.1 - (show annotations) (download)
Sun Apr 17 18:26:59 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
* 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/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 +

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