this belongs in supervise runs files not in startup.
--
Dan
+------------------------------------------------------+
| BRAVENET WEB SERVICES |
| [EMAIL PROTECTED] |
| screen;cd /usr/src;make buildworld;cd ~ |
| cp MYKERNEL /sys/i386/conf;cd /usr/src |
| make buildkernel KERNCONF=MYKERNEL |
|make installkernel KERNCONF=MYKERNEL;make installworld|
+______________________________________________________+
On Wed, 25 Apr 2001, Christopher Tarricone wrote:
> Date: Wed, 25 Apr 2001 16:20:07 -0400
> From: Christopher Tarricone <[EMAIL PROTECTED]>
> To: QMAIL <[EMAIL PROTECTED]>, VPOPMail <[EMAIL PROTECTED]>
> Subject: Server Logs Please Help
>
> I have included an excerpt of my start-up script. My server starts but does
> not write anything to the log. The /var/log/qmail directory owned by
> qmaill:nofiles with r/w permissions. Has anyone encountered this before?
>
>
>
>
>
>
>
> #!/bin/sh
>
> # Qmail Startup
>
>
> # Source function library.
> . /etc/rc.d/init.d/functions
>
> HOSTNAME=`hostname`
>
>
> # See how we were called.
> case "$1" in
> start)
>
> echo -n "Starting: "
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> qmail-start ./Maildir/ /usr/local/bin/accustamp \
> | /usr/local/bin/setuidgid qmaill /usr/local/bin/cyclog /var/log/qmail &
>
> echo -n "qmail "
>
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R -c100 0 pop-3 /var/qmail/bin/qmail-popup \
> $HOSTNAME \
> /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir >
> /var/log/qmail/smtp.log &
> echo -n "pop "
> #####
> # This is commented out on purpose deamontools 0.80 does not
> # require you to specify the location of the tcp.smtp file
> # it is defined at compile time
> # tcpserver -H -R -x /var/vpopmail/etc/tcp.smtp -c100 -u503 -g501 0 smtp
> \
>
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R -c100 -u503 -g501 0 smtp \
> /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
> echo "smtp"
>