At 07:03 27/03/2000 +0200, Magnus Bodin wrote:
>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. 

So to make it easy, could I just change all setuser command with setuidgid
all cyclog command with multilog
etc ?
like this below
>>         setuidgid qmaill multilog -s5000000 -n5 /var/log/qmail/qmail-smtpd &


-------
AFLHI 058009990407128029/089802---(102598//991024)

Reply via email to