Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reload Icecast2 config without stopping ongoing stream? [closed]

I'm currently working on making an Icecast2 server with multiple users. At some points, I will have to reload the configuration file, but I don't want to disrupt any currently ongoing streams. Is this possible?


2 Answers

Use that command:

/etc/init.d/icecast2 reload

This will not disrupt any currently ongoing streams. But, in my experience, not all configuration changes will be applied, using that command. For example, I could succesfully update the <mount></mount> list (add new mount points), but in order to update some other settings, like <burst-size> I needed to restart the Icecast server completely using:

/etc/init.d/icecast2 restart

like image 159
Alexey Timokhin Avatar answered Nov 17 '25 03:11

Alexey Timokhin


Icecast will reload its configuration on SIGHUP on all Unix/Linux systems. (For Windows reloading it will be possible starting with 2.5 through web interface)

Please note, that you should ensure that the configuration file is valid.

You might also want to have a look at URL authentication and default mountpoints in version 2.4.1 http://icecast.org/docs/icecast-2.4.1/auth.html#url It allows you to offload many aspects to a back end system.

like image 30
TBR Avatar answered Nov 17 '25 03:11

TBR