Restrict icecast clients to something more fitted to a small home server

This commit is contained in:
Bob Mottram 2017-11-26 20:12:23 +00:00
parent 863ec09f5e
commit 94b1d56ccf
1 changed files with 1 additions and 0 deletions

View File

@ -516,6 +516,7 @@ function install_icecast {
-e "s|<hostname>[^<]*</hostname>|<hostname>$ICECAST_ONION_HOSTNAME</hostname>|" \
/etc/icecast2/icecast.xml
sed -i "s|<clients>.*|<clients>10</clients>|g" /etc/icecast2/icecast.xml
sed -i "s|<port>.*|<port>$ICECAST_PORT</port>|g" /etc/icecast2/icecast.xml
sed -i "s|<admin-user>.*|<admin-user>$MY_USERNAME</admin-user>|g" /etc/icecast2/icecast.xml
sed -i "s|<admin>.*|<admin>$MY_EMAIL_ADDRESS</admin>|g" /etc/icecast2/icecast.xml