On 5/7/06, Tzafrir Cohen <
[EMAIL PROTECTED]> wrote:
On Sun, May 07, 2006 at 08:44:41AM -0400, Doug Lytle wrote:
> Wilson Pickett wrote:
> >>> No, you have to kill the op_server app and restart it
> >>This is incorrect. You can just send it the HUP (Hangup) signal and it
> >>will reload it's configuration files.
> >
> >Isn't that what HUP does? :)
> >
> No,
>
> HUP sends the Hang UP signal, causing an application to reload/re-read
> it's configs without ending the application. A TERM causes will KILL it.
Actually the name "Hang UP" is misleading here. SIGHUP basically tells a
terminal application that its terminal has been hung up. Normally such a
program should terminate, because you wouldn't want to leave a stale
program running (see also nohup(1) ). By convention X programs behave
basically the same on SIGHUP. Although their "hangup" is really the
closing of the connection to the X server.
Daemons have no controlling terminal normally. So SIGHUP is meaningless
for them. For some strange reason, that signal was abused to tell
programs with no terminal to re-read their configuration.
/me wonders what should happen when you run 'asterisk -c' in a an xterm
and then close that xterm. ;-)
-- Tzafrir
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
