Re: [Asterisk-Users] FOP flash panel: how to reload config files when running

2006-05-08 Thread tracinet
I just issue a 'service op_panel reload' at the command line and it reloads the configuration without stopping the service :)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.ATERM causes will KILL it.
Actually the name Hang UP is misleading here. SIGHUP basically tells aterminal application that its terminal has been hung up. Normally such aprogram should terminate, because you wouldn't want to leave a stale
program running (see also nohup(1) ). By convention X programs behavebasically the same on SIGHUP. Although their hangup is really theclosing 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 tellprograms with no terminal to re-read their configuration./me wonders what should happen when you run 'asterisk -c' in a an xtermand then close that xterm. ;-)
-- Tzafrir___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo 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


Re: [Asterisk-Users] FOP flash panel: how to reload config files when running

2006-05-07 Thread Wilson Pickett

 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? :)
___
--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


Re: [Asterisk-Users] FOP flash panel: how to reload config files when running

2006-05-07 Thread Doug Lytle

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.


Doug

--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


___
--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


Re: [Asterisk-Users] FOP flash panel: how to reload config files when running

2006-05-07 Thread Tzafrir Cohen
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


[Asterisk-Users] FOP flash panel: how to reload config files when running

2006-03-29 Thread Giorgio Incantalupo

Hi,
is it possible to force FOP to reload its configuration files 
(op_buttons.cfg and op_style.cfg) while it is working? I tried to click 
on the refresh icon but nothing happens.


TIA

Giorgio Incantalupo
___
--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


Re: [Asterisk-Users] FOP flash panel: how to reload config files when running

2006-03-29 Thread Wilson Pickett
 is it possible to force FOP to reload its configuration files
 (op_buttons.cfg and op_style.cfg) while it is working? I tried to click
 on the refresh icon but nothing happens.

No, you have to kill the op_server app and restart it
___
--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


RE: [Asterisk-Users] FOP flash panel: how to reload config files when running

2006-03-29 Thread Colin Anderson
If you are using the safe_opserver daemon, 'killall op_server.pl' works
fine. You have to kill the op_server process to force a reread of the .cfg
files

-Original Message-
From: Giorgio Incantalupo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 9:02 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] FOP flash panel: how to reload config files
when running


Hi,
is it possible to force FOP to reload its configuration files 
(op_buttons.cfg and op_style.cfg) while it is working? I tried to click 
on the refresh icon but nothing happens.

TIA

Giorgio Incantalupo
___
--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


Re: [Asterisk-Users] FOP flash panel: how to reload config files when running

2006-03-29 Thread Doug Lytle

Giorgio Incantalupo wrote:

Hi,
is it possible to force FOP to reload its configuration files 
(op_buttons.cfg and op_style.cfg) while it is working? I tried to 
click on the refresh icon but nothing happens.

killall -HUP op_server.pl

Doug

--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


___
--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


Re: [Asterisk-Users] FOP flash panel: how to reload config files when running

2006-03-29 Thread Doug Lytle

Wilson Pickett wrote:

is it possible to force FOP to reload its configuration files
(op_buttons.cfg and op_style.cfg) while it is working? I tried to click
on the refresh icon but nothing happens.



No, you have to kill the op_server app and restart it
___
--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


  
This is incorrect.  You can just send it the HUP (Hangup) signal and it 
will reload it's configuration files.


Doug

--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


___
--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