[Icecast] Running Two Instances of Icecast
geoff at QuiteLikely.com
Tue Dec 1 00:20:13 UTC 2020
On Sat, 28 Nov 2020, Steve Matzura wrote:
> # Defaults
> # Reads config file (will override defaults above)
> [ -r "$CONFIGDEFAULTFILE" ] && . $CONFIGDEFAULTFILE
CONFIGDEFAULTFILE is your issue. It's set to /etc/default/icecast2 which
is the same as your other instance.
The config default file is meant to have changeable settings. The only
reason why there are settings in the script is so that it will work if
this file is not available for some reason.
The last line quoted here:
[ -r "$CONFIGDEFAULTFILE" ] && . $CONFIGDEFAULTFILE
Overrides the settings given in this script file, so they all get set back
to the same as your production instance.
The second instance wil fail to start as soonas it runs into something
locked out by the production instance.
You can do one of two things:
1. Make a new copy of /etc/default/icecast2 and point the script to it
2. Comment out the last line which reads it and use the values in your
If you do the second step, which might be simpler for something
temporary, you will need to change ENABLE from false to true.
More information about the Icecast