hdaemonize

Library to handle the details of writing daemons for UNIX

http://github.com/greydot/hdaemonize

Version on this page:0.5.0.2
LTS Haskell 22.40:0.5.7
Stackage Nightly 2024-11-04: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 Lana Black <lanablack at amok dot cc>
This version can be pinned in stack with:hdaemonize-0.5.0.2@sha256:cffca3ffc0faab4f21e4ed1956b7b2d038fdfcabeb94bd8441546d9fc1351584,1189

Module documentation for 0.5.0.2

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