[Haskell-beginners] daemons and signals

Jeff Lasslett jeff.lasslett
Wed Oct 9 01:50:57 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20131009/f21d1b2f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.hs
Type: application/octet-stream
Size: 1221 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/beginners/attachments/20131009/f21d1b2f/attachment.obj>



More information about the Beginners mailing list