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