Re: [vchkpw] run scripts not working that good

2003-01-07 Thread Claudio Nieder
Hi, > exec env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R -x > /etc/tcp.smtp.cdb -c20 -u1004 -g1201 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 > > /dev/null & This should be exec ... -H -R -x \ /etc/tcp ... 2>&1 \ > /dev/null > exec env - PATH="/var/qmail/bin:/usr/local/bin" tcpserve

Re: [vchkpw] run scripts not working that good

2003-01-07 Thread David Phillips
Tobias Åman writes: > The thing is that if i don´t run the & at the end how should i get > them in the background ? supervise puts the scripts into the background. If you aren't running qmail under daemontools, then reinstall from scratch by following Life with qmail: http://www.lifewithqmail.or

Re: [vchkpw] run scripts not working that good

2003-01-07 Thread David Phillips
Tobias Åman writes: > What happends is that these run defunct messages appears in the ps > -ax and also messages in syslog with the text tcpauth looping. > > But they work anyway but i can´t stop anything i try to kill > processes but they don´t stop You have & at the end of each script. This is

Re: [vchkpw] run scripts not working that good

2003-01-07 Thread David Phillips
Tobias Åman writes: > Can somone help me to see whats wrong in my run scripts something is > not working that well > although it´s working Obviously, they are not working that well. We can't read your mind. Tell us exactly what you mean or we cannot help you. -- David Phillips <[EMAIL PROTECTED

[vchkpw] run scripts not working that good

2003-01-07 Thread Tobias Åman
Can somone help me to see whats wrong in my run scripts something is not working that well although it´s working #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z "$QMAILDUID" -o -z "$NOF