1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/etc/e-smith/templates/var/service/qpsmtpd/runenv/SOFTLIMIT mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/etc/e-smith/templates/var/service/qpsmtpd/runenv/SOFTLIMIT |
2 |
--- smeserver-qpsmtpd-1.2.1/root/etc/e-smith/templates/var/service/qpsmtpd/runenv/SOFTLIMIT 1969-12-31 17:00:00.000000000 -0700 |
3 |
+++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/etc/e-smith/templates/var/service/qpsmtpd/runenv/SOFTLIMIT 2007-03-07 11:53:31.000000000 -0700 |
4 |
@@ -0,0 +1,3 @@ |
5 |
+{ |
6 |
+ return "SOFTLIMIT=" . ($smtpd{Softlimit} || "25000000"); |
7 |
+} |
8 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run |
9 |
--- smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run 2007-03-07 11:53:56.000000000 -0700 |
10 |
+++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run 2007-03-07 11:52:53.000000000 -0700 |
11 |
@@ -24,7 +24,7 @@ |
12 |
|
13 |
./control/1 |
14 |
|
15 |
-exec /usr/local/bin/softlimit -d 25000000 -s 25000000 -l 25000000 \ |
16 |
+exec /usr/local/bin/softlimit -d ${SOFTLIMIT:-25000000} -s ${SOFTLIMIT:-25000000} -l ${SOFTLIMIT:-25000000} \ |
17 |
/usr/bin/qpsmtpd-forkserver \ |
18 |
-u qpsmtpd \ |
19 |
-l 0.0.0.0 \ |