direct-daemonize: Library to switch to daemon mode using built-in OS facilities.

[ bsd3, library, system ] [ Propose Tags ]

This package is a wrapper around the daemon() function on BSD-like Unices, including Mac OS X and glibc-based Linux distributions. It does not function on other systems. Version 3.0 cleans up the parameters structure. Version 2.0 fixes compatibility problems with the threaded GHC runtime. Doing this required two non-backwards-compatible API changes. First, the daemonize function now takes an action to perform as a daemon, and never returns. Second, the functionality of closing all open files has been removed, as it caused crashes. As a substitute, the option of closing only the three standard streams has been added and made the default.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0, 3.0, 3.1
Dependencies base (>=4.1 && <5), unix (>=2.4.0.1) [details]
License BSD-3-Clause
Copyright Copyright (c) 2012 Irene Knapp
Author Irene Knapp <ireney.knapp@gmail.com>
Maintainer ireney.knapp@gmail.com
Category System
Home page http://ireneknapp.com/software/
Bug tracker http://ireneknapp.com/issues/create/
Uploaded by IreneKnapp at 2012-06-20T20:49:04Z
Distributions NixOS:3.1
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 3315 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]