On Wed, Jul 12, 2006 at 10:47:45AM +0800, Darren Reed wrote:
> I've been tossing around the idea of introducing a function that
> provides something close to being equivalent to daemon(3)[1] in
> BSD to simplify the work needed to make a program run as a daemon.

  See: 4471189 should have 4.4BSD's daemon() utility function.

> The presence of contracts in OpenSolaris makes it seem necessary
> to add a 3rd argument to this, indicating whether or not you want
> the daemon to have its own contract.  Is there a requirement for
> more options than just this, or just more flexibility in this?

  I think you'll definitly want more flexibility, and not just for
  contracts (in general, I agree with the comments made by Casper and
  Liane).

  Note that contracts encapsulate most of their flexibility in that you
  define a contract's terms using an opaque parameter block (the
  "template").  There's no need to re-express this flexibility in a
  daemonizing interface.

  Dave


Reply via email to