[Haskell-cafe] How to daemonize a threaded Haskell program?
s.clover at gmail.com
Sun Mar 6 02:31:00 CET 2011
On Mar 5, 2011, at 5:59 PM, Bas van Dijk wrote:
> On 5 March 2011 21:51, Vincent Hanquez <tab at snarc.org> wrote:
>> On Sat, Mar 05, 2011 at 08:51:59PM +0100, Bas van Dijk wrote:
>>> I like to turn my Haskell program into a unix daemon. One of the steps
>>> in "daemonizing" a process is to fork it then exit the parent and
>>> continue with the child. All this is nicely abstracted in
>>> hdaemonize which internally calls forkProcess.
Have you looked at direct-daemonize?
I'm not sure if it will do the job, but it's certainly worth mentioning.
More information about the Haskell-Cafe