Re: [vchkpw] run scripts not working that good
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" tcpserver -H -R 0 110 > /var/qmail/bin/qmail-popup mail.server.nu /home/vpopmail/bin/vchkpw > /var/qmail/bin/qmail-pop3d Maildir & same here, the \ at the end of the first two lines is missing. claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
Re: [vchkpw] run scripts not working that good
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.org/ -- David Phillips <[EMAIL PROTECTED]> http://david.acz.org/
Re: [vchkpw] run scripts not working that good
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 causing them to be backgrounded by the shell. supervise thus sees that the process has exited and restarts it. Remove the & from the end of each script. -- David Phillips <[EMAIL PROTECTED]> http://david.acz.org/
Re: [vchkpw] run scripts not working that good
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]> http://david.acz.org/
[vchkpw] run scripts not working that good
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 "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi 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 & #!/bin/sh exec env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R 0 110 /var/qmail/bin/qmail-popup mail.server.nu /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & /Tobias