On Wed, 20 May 2009, Charlie Brady wrote: > > I changed my 'run' file to the following: > > > > ==================== > > #!/bin/sh > > exec 2>&1 \ > > sh -c ' > > exec \ > > /usr/local/bin/softlimit -m 100000000 \ > > ${PERL-perl} -T ./qpsmtpd-prefork \ > > --port 25 \ > > --port 587 \ > > --children 30 \ > > --idle-children 5 \ > > --pid-file /var/run/qpsmtpd.pid \ > > --renice-parent 5 \ > > --detach \ > > --max-from-ip 10 \ > > --user smtpd > > ' > > You're not setting $PERL, do you don't need to use sh -x. > > You don't want --detach either - supervise won't provide a controlling > terminal, and you mustn't daemonise. > > You also don't need --pid-file with supervise/runit. > > So try: > > #!/bin/sh > exec 2>&1 \ > exec \ > /usr/local/bin/softlimit -m 100000000 \ > /usr/bin/perl -T ./qpsmtpd-prefork \ > --port 25 \ > --port 587 \ > --children 30 \ > --idle-children 5 \ > --renice-parent 5 \ > --max-from-ip 10 \ > --user smtpd
Yes! Perfect!! Thanks!!! You've come through for me again, Charlie - thanks so much. The stock config/plugins runs. Now I just need to see how broken my plugins are (or aren't). Can we get this put into the wiki? J.