[Icecast] Edit icecast.xml while server running

Ross Levis
Tue, 13 Oct 2015 05:40:05 -0000

Perhaps Icecast Server could listen for a WM_USER Windows message to
activate the same action as a SIGHUP on Linux.  It is simple to program.

-----Original Message-----
From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf
Of Philipp Schafft
Sent: Tuesday, 13 October 2015 6:24 p.m.
To: Icecast streaming server user discussions
Subject: Re: [Icecast] Edit icecast.xml while server running

Good morning,

On Mon, 2015-10-12 at 07:16 -0700, Jack Elliott 541 848 7021
wrote:
> When running Icecast server on a Windows machine, I find that I can
> edit icecast.xml while Icecast is running, but must stop and restart
> Icecast for the changes to be recognized. At least right away, anway.
> It's possible that Icecast will eventually get around to accepting the
> changes later in the day but I haven't waited to find out.

Icecast2 will not magically re-read it. To do so you need to send a SIGHUP.
As windows does not have real, working signals there is no way to let it
re-read it with the current official version.
But I need to recommend against running Icecast2 (or any other server
software) on windows anyway.


--
Philipp.
 (Rah of PH2)