Hi!
While in debug mode, after Ctrl-C server does mot
exit clearly.
Problem in:
radiusd.c line 940
/*
* If we're debugging, then a CTRL-C will cause the
* server to die immediately. Use SIGTERM to shut down
* the server cleanly in that case
also I think that it is not so bad to add
/*
* Delete PID file to indicate
* normal shutdown
*/
unlink(pid_file);
or
if (dont_fork == FALSE)
unlink(pid_file);
in if (do_exit) {...} block.
-
List
[EMAIL PROTECTED] wrote:
While in debug mode, after Ctrl-C server does mot
exit clearly.
Yes... if you had seen one of my previous messages on this topic,
you would know that this is intentional, and WHY it's intentional.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http
Yes... if you had seen one of my previous messages on this topic,
you would know that this is intentional, and WHY it's intentional.
shrug Maybe I've missed something...but I don't find reason while
'dirty' exit was done intentionally for debugging
-
List info/subscribe/unsubscribe?
[EMAIL PROTECTED] wrote:
shrug Maybe I've missed something...but I don't find reason while
'dirty' exit was done intentionally for debugging
Because you can still send it SIGTERM.
CTRL-C means die now.
SIGTERM means please die.
In debugging mode, and without child threads, the