| View previous topic :: View next topic |
| Author |
Message |
JohnnyOh
Joined: 10 Feb 2009 Posts: 50 Location: Germany
|
Posted: Tue Feb 10, 2009 12:06 pm Post subject: new relay mountpoint problem |
|
|
Hi together,
I am using an Icecast 2.3.2 Server with several relays (live-streams)
If I need to create a new relay mountpoint, I have to restart the icecast-server-process. In this case all users/clients are kicked from the streams.
Is there a possibility to create new relays, without restarting the icecast-process?
I only edit the icecast.xml. So maybe there is the possibility to reload the icecast.xml?
I am looking forward to hear from you.
Jan |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Feb 10, 2009 4:34 pm Post subject: |
|
|
On non-win32 platforms you can send the HUP signal, kill -HUP ....
karl. |
|
| Back to top |
|
 |
JohnnyOh
Joined: 10 Feb 2009 Posts: 50 Location: Germany
|
Posted: Tue Feb 10, 2009 5:27 pm Post subject: |
|
|
Hi Karl,
thank you for you reply.
by default the kill-command deletes a process. So then I have to start the process again.
Is it the same with icecast, or does the command "kill -HUP <Porcess-ID>" only forces a reload of the xml-file?
I am sorry for not understanding completely. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Feb 10, 2009 9:02 pm Post subject: |
|
|
All the kill command does is send a signal to the process, whether that process captures and handles that signal varies. A kill command with no signal reference will send TERM (15) which is generally known to be a "friendly" way to terminate the process, KILL(9) is the unfriendly version. SIGHUP can also be used for terminating a process but can also be used to trigger things like log cycling for example.
karl. |
|
| Back to top |
|
 |
JohnnyOh
Joined: 10 Feb 2009 Posts: 50 Location: Germany
|
Posted: Wed Feb 11, 2009 3:17 pm Post subject: |
|
|
Hi Karl,
many thanks for your help. This was exactly what I needed.
Kind regards
Jan |
|
| Back to top |
|
 |
|