From 9bc78b38c09f5cd4def88d5b7efe45a579df516a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Fri, 8 Feb 2002 11:02:19 +0000 Subject: [PATCH] add example supervise run file git-svn-id: https://svn.perl.org/qpsmtpd/trunk@13 958fd67b-6ff1-0310-b445-bb7760255be9 --- run | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 run diff --git a/run b/run new file mode 100755 index 0000000..3e2ff6b --- /dev/null +++ b/run @@ -0,0 +1,8 @@ +#!/bin/sh +QMAILDUID=`id -u smtpd` +NOFILESGID=`id -g smtpd` +exec /usr/local/bin/softlimit -m 10000000 \ + /usr/local/bin/tcpserver -c 10 -v -p \ + -u $QMAILDUID -g $NOFILESGID 0 smtp \ + ./qpsmtpd 2>&1 +