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
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() wi
This one is a bit more complete. Requires PID support, and
start-stop-daemon (i.e. it is for Debian, and I do not know if it is
portable to other places; you can always get our start-stop-daemon,
everything in Debian is free software).
You'll likely want to change DAEMON to master (we use cyrmas
Henrique de Moraes Holschuh wrote:
>
> This patch should be applied on top of the previous one in this thread (in
> message <20011128123038.K13192@khazad-dum>).
>
> It adds configure support for --enable-pidfile (which enables pidfile and
> daemon mode). The full filename (with path info) for th
Henrique de Moraes Holschuh wrote:
> This patch should be applied on top of the previous one in this thread (in
> message <20011128123038.K13192@khazad-dum>).
>
> It adds configure support for --enable-pidfile (which enables pidfile and
> daemon mode). The full filename (with path info) for the pi