[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another Qmail/OpenBSD Question
All this aside, the ``preferred'' way of starting qmail is to use
daemontools, as outlined in http://Web.InfoAve.Net/~dsill/lwq.html
If people are interested I can post the run files and a utility to create
the proper supervise directory structures.
--
Cam
On Wed, 3 Jan 2001, Jim Breton wrote:
> On Tue, Jan 02, 2001 at 09:13:58PM -0500, Kit Halsted wrote:
> > If
> >
> > csh -cf '/var/qmail/rc &'
> >
> > is valid for rc.local, why does everything else in the file look like
> >
> > if [ -x /usr/local/sbin/somedaemon ]; then
> > echo -n ' somedaemon'; /usr/local/sbin/somedaemon
> > fi
>
>
> You can invoke it under any shell you want, really. You don't have to
> use csh if you don't want to. I use sh for mine, for instance.
>
> sh /var/qmail/rc &
> or simply
> /var/qmail/rc &
>
> From what I have heard, DJB uses csh in his example because some
> implementations of the Bourne shell will cause their children to exit if
> they receive a HUP signal... or, something like that. (I could be
> completely wrong... it's just something I read on another list.)
>
> I don't see this as being a problem with our pdksh though. Nor with
> bash.
>
>