Re: [Tutor] unexpected signal behaviour

2007-11-25 Thread Alan Gauld
I can't see anything obvious. Try putting some debug messages into read_config and the main loop. Also you could try catching the SystemExit exception at the top level and dumping a stacktrace to see exactly where it is exiting. HTH, Alan G. "dave selby" <[EMAIL PROTECTED]> wrote in message

[Tutor] unexpected signal behaviour

2007-11-24 Thread dave selby
Hi all, I have written a daemon as part of a larger project, if it recieves a SIGHUP signal it needs to re-read its config file. It works in that I get 'signal HUP detected, re-reading config file' in syslog but then the script exits ... mmm first time I have used signal catching ... thought