[asterisk-dev] SIGHUP handling
Kevin P. Fleming
kpfleming at digium.com
Tue Jan 30 05:57:07 MST 2007
Russell Bryant wrote:
> So, can anyone think of a good reason why this hander calls
> ast_module_reload()?
Yep... it's so users can do:
$ kill -HUP 'pidof asterisk'
(or something similar) to get Asterisk to re-read all its configuration,
like many other daemons do.
One possible way to address this would be for the signal handler to just
'post' the module reload request somewhere and have another thread do
the reload.
More information about the asterisk-dev
mailing list