Mate Wierdl wrote:
> On Fri, Nov 17, 2000 at 06:03:31PM +0800, eric yu wrote:
> > /service/qmail-send/log/run
> >
> > #!/bin/sh
> > SETUIDGID=/usr/local/bin/setuidgid # directory for setuidgid
> > MULTILOG=/usr/local/bin/multilog # directory for multilog
> > PROG=smtpd
> > LOGDIR=/var/log/qmail # directory for qmail-send log
> > LOGUSER=qmaill # user to own logs
> > LOGNUM=10 # number of log files.
> > LOGSIZE=5000000 # maximum file size for log files.
> >
> > exec $SETUIDGID $LOGUSER $MULTILOG t n$LOGNUM s$LOGSIZE $LOGDIR
>
> So your $LOGDIR is /var/log/qmail, but then
>
> > /service/qmail-smtpd/log/run
> >
> > #!/bin/sh
> > # This is the run file for supervise to execute the qmail-smtpd's log.
> >
> > SETUIDGID=/usr/local/bin/setuidgid # directory for setuidgid
> > MULTILOG=/usr/local/bin/multilog # directory for multilog
> > PROG=smtpd
> > LOGDIR=/var/log/qmail/$PROG # directory for qmail-smtpd log
> > LOGUSER=qmaill # user to own logs
> > LOGNUM=10 # number of log files
> > LOGSIZE=5000000 # maximum file size for log files
> >
> > exec $SETUIDGID $LOGUSER $MULTILOG t n$LOGNUM s$LOGSIZE $LOGDIR
>
> so the $LOGDIR is a subdir of qmail-send's logdir which is again
> /var/log/qmail.
the log directory for qmail-smtpd is /var/log/qmail/smtpd
>
>
> Also, is /service/qmail-smtpd/run a symlink?
no, only /service/qmail-send and /service/qmail-smtpd are symlink to
/var/qmail/supervise/qmail-send and /var/qmail/supervise/qmail-smtpd.
regards,
Eric