Is it safe to install signal handlers using signal(2) in a Foundation application? I'm writing a daemon and have installed handlers for SIGHUP (to reload config) and SIGTERM (to clean up a file in /var/run).
Also, is it preferable to use daemon() and then close stdin, stdout, and stderr (so NSLog() uses syslog) rather than forking, exiting parent, setting session id, etc.?
--
Terry