@hackage direct-daemonize1.0

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.