direct-daemonize
Library to switch to daemon mode using built-in OS facilities.
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.1 adds the ability to do something after forking but before
dropping privileges. It also no longer uses the system-provided daemon()
function, which is highly unfortunate but necessary with the RTS's use of
per-process timers.
Version 3.0.0.1 updates this documentation to be properly broken into
paragraphs.
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.
Version 1.0 was the initial release.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 3.1 | 2013-02-19 14:23 UTC | IreneKnapp | +38/−39 lines, 2 filesPVP ok | |
| 3.0 | 2012-06-20 20:49 UTC | IreneKnapp | +36/−30 lines, 3 filesPVP ok | |
| 1.0 | 2010-09-08 01:33 UTC | IreneKnapp | +135/−0 lines, 4 filesdep +basedep +unixsetup-changed |
Dependencies of direct-daemonize-3.1
base >=4.1 && <5 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
unix >=2.4.0.1 2.8.7.0 → 2.8.8.0
| 2025-09-23 08:10 UTC | 2.8.8.0 | +161/−207 lines, 6 filesdep ~basedep ~timePVP ok |
| 2025-05-10 14:12 UTC | 2.8.7.0 | +8400/−7941 lines, 12 filesdep ~basedep ~timePVP ok |
| 2024-11-19 15:41 UTC | 2.8.6.0 | +1133/−333 lines, 14 filesdep ~basedep ~timePVP: major bump suggested |
| 2024-04-08 19:21 UTC | 2.8.5.1 | +7507/−6738 lines, 5 filesdep ~basedep ~filepathdep ~os-stringPVP: major bump suggested |
| 2023-12-01 00:53 UTC | 2.8.5.0 | +55/−9 lines, 7 filesdep +os-stringdep ~filepathdep ~timePVP ok |
showing 5 of 34 versions
Reverse dependencies
2 packages depend on direct-daemonize