/[smeserver]/rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-1.2.1-qplogsummStatus.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-1.2.1-qplogsummStatus.patch

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 15:06:53 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/qplogsumm mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/qplogsumm
2 --- smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/qplogsumm 1969-12-31 17:00:00.000000000 -0700
3 +++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/qplogsumm 2008-01-08 01:41:03.000000000 -0700
4 @@ -0,0 +1 @@
5 +disabled
6 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/log/run mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/log/run
7 --- smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/log/run 2008-01-08 01:42:21.000000000 -0700
8 +++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/log/run 2008-01-08 01:37:04.000000000 -0700
9 @@ -21,7 +21,21 @@
10 # Please visit our web site www.e-smith.com for details.
11 #----------------------------------------------------------------------
12
13 -exec \
14 - /usr/local/bin/setuidgid smelog \
15 - /usr/local/bin/multilog t s5000000 \
16 +status=`/sbin/e-smith/config getprop qpsmtpd qplogsumm`
17 +
18 +if [ -z $status ]; then
19 + status="disabled"
20 +fi
21 +
22 +if [ $status = "enabled" ]; then
23 + exec \
24 + /usr/local/bin/setuidgid smelog \
25 + /usr/local/bin/multilog t s5000000 \
26 !/usr/local/bin/qplogsumm.pl /var/log/qpsmtpd
27 +else
28 + exec \
29 + /usr/local/bin/setuidgid smelog \
30 + /usr/local/bin/multilog t s5000000 \
31 + /var/log/qpsmtpd
32 +fi
33 +

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