| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sat Apr 22, 2006 6:12 am Post subject: Signals List |
|
|
Is there any list of the signals and it's effect for the icecast server?
I understand that SIGHUP re reads config files and rewrites log files.. are there any other signals?
I would like to design an administration web interface, but, I think that I should kill the server and restart, every time I change the config files, Is that right?.. will clientes be discconected after this. ? any way to avoid this?.
BTW, I notice several instances of the icecast server running, which one of these should I send the SIGHUP signal ?.
Thanks |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Apr 22, 2006 3:49 pm Post subject: |
|
|
If you restart icecast then yes any client connected will be disconnected. A HUP signal does not directly cause clients to be disconnected, but if you have changed the config to stop a relay then that relay will terminate and possibly drop its listeners.
If you have several icecast servers running then you send the signal to whichever config has changed, however if you are running on a system that shows threads then you just send it to the process id.
The only other signals that are caught are TERM and INT for termination.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Apr 23, 2006 12:21 am Post subject: Ok |
|
|
| ok, karl thanks for your info. |
|
| Back to top |
|
 |
|