hdaemonize

Library to handle the details of writing daemons for UNIX

http://github.com/madhadron/hdaemonize

Version on this page:0.5.0.0
LTS Haskell 17.11:0.5.6
Stackage Nightly 2021-05-16:0.5.6
Latest on Hackage:0.5.6

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-0.5.0.0@sha256:d9268eb5d9dd88616d5906c227d557249b8b613d9aa7527a187f8af069f20cbf,1090

Module documentation for 0.5.0.0

  • 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).