/[smeserver]/rpms/e-smith-qmail/sme8/e-smith-qmail-2.2.0-configure_number_of_log_files_to_keep.patch.patch |
Parent Directory | Revision Log | Revision Graph
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-5.sme - Read number of log files to keep from the DB [SME: 5855]
1 | --- e-smith-qmail-2.2.0/root/var/service/qmail/log/run.configure_number_of_log_files_to_keep.patch 2006-01-11 08:04:56.000000000 +0100 |
2 | +++ e-smith-qmail-2.2.0/root/var/service/qmail/log/run 2010-10-14 23:08:00.000000000 +0200 |
3 | @@ -21,7 +21,10 @@ |
4 | # Please visit our web site www.e-smith.com for details. |
5 | #---------------------------------------------------------------------- |
6 | |
7 | +NUM=$(/sbin/e-smith/db configuration getprop qmail KeepLogFiles) |
8 | + |
9 | exec \ |
10 | /usr/local/bin/setuidgid qmaill \ |
11 | /usr/local/bin/multilog t s5000000 \ |
12 | + n${NUM:-10} \ |
13 | /var/log/qmail |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |