Library to handle the details of writing daemons for UNIX


Version on this page:
LTS Haskell 22.26:0.5.7
Stackage Nightly 2024-06-22:0.5.7
Latest on Hackage:0.5.7

See all snapshots hdaemonize appears in

BSD-3-Clause licensed by Anton Tayanovskyy, Fred Ross
Maintained by Fred Ross <madhadron at gmail dot com>
This version can be pinned in stack with:hdaemonize-,1090

Module documentation for

  • System
    • System.Posix
      • System.Posix.Daemonize

Provides two functions that help writing better UNIX daemons, daemonize and serviced: daemonize does what a daemon should do (forking and closing descriptors), while serviced does that and more (syslog interface, PID file writing, start-stop-restart command line handling, dropping privileges).