Hey, im using Icecast to build a distributed service and I want to know, if I can edit the icecast.xml while the server its running and the changes are accepted, without having to restart the service. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20151012/edf07baf/attachment.htm
reflum, On Mon, 2015-10-12 at 00:55 -0500, Camilo Cano wrote:> Hey, im using Icecast to build a distributed service and I want to > know, if I can edit the icecast.xml while the server its runningSure. You can edit the file freely as long as Icecast is not reading it in the very moment you write it.> and the changes are accepted, without having to restart the service.Sure. You just need to send SIGHUP. Init scripts may have a 'reload' target for that. btw. What parameters do you want to edit on the fly? -- Philipp. (Rah of PH2) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part Url : http://lists.xiph.org/pipermail/icecast/attachments/20151012/a464d6c7/attachment.pgp
Jack Elliott 541 848 7021
2015-Oct-12 14:16 UTC
[Icecast] Edit icecast.xml while server running
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. -- that Jack Elliott 541 848 7021 Producer Wednesday Point, Host, The Sunday Classics KPOV 88.9, High Desert Radio Audio geek On 10/11/2015 10:55 PM, Camilo Cano wrote:> Hey, im using Icecast to build a distributed service and I want to > know, if I can edit the icecast.xml while the server its running and > the changes are accepted, without having to restart the service. > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20151012/3d4690ed/attachment.htm
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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part Url : http://lists.xiph.org/pipermail/icecast/attachments/20151013/6f4b2f29/attachment.pgp