Restrict icecast clients to something more fitted to a small home server
This commit is contained in:
parent
863ec09f5e
commit
94b1d56ccf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue