On Mon, Feb 01, 2010 at 07:42:50PM +0100, Roland Clobus wrote:
> On Mon, 2010-02-01 at 19:24 +0100, Roland Clobus wrote:
> And I forgot to mention:
> 
> I've also removed the directory part for /var/run, because it is not
> needed anymore, and I don't think a directory for only one file makes
> sense.

This is true, but it is the only way to make things work:
- when using --background, start-stop-daemon does a double fork, to
  orphan the (grand)child from the parent.
- pioneers-console must write its own pidfile; if start-stop-daemon does
  that, it writes the dying child's pid.  The running grandchild's pid
  is not recorded.
- The directory is needed because pioneers-meta-server isn't allowed to
  write to /var/run.

If your patch works (I didn't test yet), then start-stop-daemon is
probably changed.  Do you know if this is the case?

Thanks,
Bas

Attachment: signature.asc
Description: Digital signature

Reply via email to