making icecast2 more secure by default

This commit is contained in:
mcguirepr89
2022-07-05 11:44:14 -04:00
parent d13ee9865a
commit 49975f8f60
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -107,6 +107,9 @@ if ! grep '\-\-browser.gatherUsageStats false' $HOME/BirdNET-Pi/templates/birdne
sudo systemctl daemon-reload && restart_services.sh
fi
# Make IceCast2 a little more secure
sudo sed -i 's|<!-- <bind-address>.*|<bind-address>127.0.0.1</bind-address>|;s|<!-- <shoutcast-mount>.*|<shoutcast-mount>/stream</shoutcast-mount>|' /etc/icecast2/icecast.xml
sudo systemctl restart icecast2
sudo systemctl daemon-reload
restart_services.sh