[Haskell-beginners] daemons and signals
Bob Ippolito
bob at redivi.com
Sun Oct 13 08:39:44 UTC 2013
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 at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20131013/05ad4753/attachment-0001.html>
More information about the Beginners
mailing list