On Fri, Mar 24, 2000 at 12:31:02AM -0700, Irwan Hadi wrote:
> 
>         ulimit -v 2048
> 
>         csh -cf '/var/qmail/rc &'
> 
>         supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb
> -u$USERID -g$GROUPID 0 25 \
>         rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
>         setuser qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd &
> 
> I want to run this script from my init 
> My question is, where could I found "setuser" command ? because W/O this,
> the script won't work, and I must do manually the command.

You are probably using daemontools 0.61. The script snippet above is written
for daemontools 0.53. 

There were a few name changes of programs between these versions, and
therefore it will be hard to reuse the snippet above without modification.
"setuser" has been replaced by "setuidgid", "cyclog" has been replaced by
"multilog", et c. 

See Dave Sill's "Life with qmail", which probably is the most refererred
documentation around: http://Web.InfoAve.Net/~dsill/lwq.html

/magnus

-- 
I AM TODAY'S MONKEY BITE --->  http://hotwired.lycos.com/webmonkey/

Reply via email to