Skip to content
Snippets Groups Projects
Commit 94b1d56c authored by Bob Mottram's avatar Bob Mottram
Browse files

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

parent 863ec09f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment