I don't have the daemonization or syslog stuff installed, but this works for me:
https://gist.github.com/etrepum/6959892


On Tue, Oct 8, 2013 at 6:50 PM, Jeff Lasslett <jeff.lasslett@gmail.com> wrote:
Hello,

I'm trying to write a daemon that handles some signals.  My problem is currently with the handling of posix signals.  I don't think my signal handlers are being run.  All they do at present is write to syslog and a file (for diagnostic purposes).  

I'm not seeing anything in /var/log/system.log  (I'm on a mac).

My code is attached.  Any advice would be greatly appreciated.

Thanks,
Jeff



_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners