On Wed, Jul 04, 2001 at 08:26:45PM +0200, Moritz Schmitt wrote:
> 2. I'm using tcpserver to start qmail and it seems to work. But there is a
> little thing I don't understand. On my FreeBSD 4.2 RELEASE machine I added
> the follwing configuration file into /etc/rc:

That's not the right place to start services, but that's beyond the scope of
this list.

> /usr/local/bin/tcpserver -p -x /etc/tcp.smtp.cdb -u 82 -g 81 0 smtp \
> /var/qmail/bin/smtpd
> 
> After I added this line I rebooted the machine and it stopped right at the
> point where it was supposed to excute the line above. It didn't crash and I
> was able to talk to my server on port 25 it just didn't proccess the rest of
> the startup scripts. Because it looked the way that
> /var/qmail/bin/qmail-smtpd was waiting on stdin I added an ampersand at the
> and of the line so /bin/sh would start it as a background process. It seems
> to work that way but I'm confused because I read twice in two different docs
> that no ampersand is needed. At least it wasn't printed there. Can anyone
> enlighten me?

In this case you do need the ampersand, but again this is not a qmail question,
but a general Unix question.

I'd suggest you read http://www.lifewithqmail.org. Set things up as outlined
there, and start svscan from a script in /usr/local/etc/rc.d

Chris

PGP signature

Reply via email to