[Icecast] Edit icecast.xml while server running

Philipp Schafft lion at lion.leolix.org
Tue Nov 3 04:50:38 UTC 2015


Good morning,

On Tue, 2015-11-03 at 01:13 +0200, Dmitrijs Sorokins wrote:
> ps aux |grep icecast
> kill -s SIGHUP icecast_pid

You can also do:
pkill -HUP icecast

pkill will look up which process to kill and is portable.
Also the init script of a given OS may provide a reload option.


> 03.11.2015 0:42, Jeremiah Rogers пишет:
> 
> > How do I send SIGHUP?
> > 
> > Jeremiah Rogers
> > Cell: 704-996-5334
> > Email: jeremiahzrogers at gmail.com
> > Social Networking: /jzrogers
> > 
> > 
> > > On Oct 22, 2015, at 00:50, Philipp Schafft <lion at lion.leolix.org> wrote:
> > > 
> > > Good morning,
> > > 
> > > > On Wed, 2015-10-21 at 10:02 -0700, M M wrote:
> > > > I believe many Windows devs would just monitor the filesystem for
> > > > changes to the config file, and then re-read it when it has changed.
> > > I was told that I implemented config reload via the web interface for
> > > that reason[0]. Seems I forgot about it. I'm sorry for that.
> > > You can find it as a button in the 'Global server stats' section in the
> > > admin area[1].
> > > 
> > > Have fun!
> > > 
> > > 
> > > [0] to support it on windows. However it seems to be a nice feature
> > > anyway and is non-windows specific.
> > > [1] That is in 2.5.x. See #2018.
> > > 
> > > > 
> > > > From: lion at lion.leolix.org
> > > > To: icecast at xiph.org
> > > > Date: Tue, 13 Oct 2015 05:23:30 +0000
> > > > 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)
> > > _______________________________________________
> > > Icecast mailing list
> > > Icecast at xiph.org
> > > http://lists.xiph.org/mailman/listinfo/icecast
> > _______________________________________________
> > Icecast mailing list
> > Icecast at xiph.org
> > http://lists.xiph.org/mailman/listinfo/icecast
> 
> -- 
> Dmitrijs Sorokins
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast

-- 
Philipp.
 (Rah of PH2)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20151103/37826b3c/attachment.sig>


More information about the Icecast mailing list