[svlug] Writing start-up scripts...
Eric Pretorious
epretorious at hotmail.com
Mon Mar 12 18:32:01 PST 2001
>From: Seth David Schoen <schoen at loyalty.org>
>
> > >/var/qmail/rc
> > >=============
> > >#!/bin/sh
> > >exec env - PATH="/var/qmail/bin:$PATH" \
> > >qmail-start ./Mailbox splogger qmail
>
>How about making this run qmail-start in the background?
>
>qmail-start ./Mailbox splogger qmail &
>
>You might want to do something about the output, if any.
Seth:
Many thanks!!! That's definitely an improvement: qmail now starts quietly
and runs in the background.
What's left: To correctly report the status of starting-up. There may not be
anything that can be done though. I guess that this functionality must come
from the qmail-start binary? It's possible to execute /var/qmail/rc multiple
times (effectively executing /var/qmail/bin/qmail-start multiple times)
without any complaint that qmail is already running.
Eric P.
Los Gatos, CA
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
More information about the svlug
mailing list