From: Simon Loader (no email)
Date: Tue Dec 04 2001 - 11:01:52 EST
Henrique de Moraes Holschuh wrote:
>
> On Tue, 04 Dec 2001, Simon Loader wrote:
> > /usr/cyrus/bin/master &
> > echo $! > /var/run/cyrus.pid
> >
> > which sort gives the same control.
>
> Well, it depends. The pidfile support inside master allows it to fork() at
> will and still keep the pidfile current. This way, we can setsid() without
> any sort of trouble... so it has its advantages.
>
I do agree just thought Id show a way to do it now.
(i amazed more services dont come with scripts like this).
-- Simon
|
|
|