Merge branch 'main' into weekly-report
This commit is contained in:
@@ -275,7 +275,7 @@ Restart=on-failure
|
||||
RestartSec=5
|
||||
Type=simple
|
||||
User=${USER}
|
||||
ExecStart=$HOME/BirdNET-Pi/birdnet/bin/streamlit run $HOME/BirdNET-Pi/scripts/plotly_streamlit.py --server.address localhost --server.baseUrlPath "/stats"
|
||||
ExecStart=$HOME/BirdNET-Pi/birdnet/bin/streamlit run $HOME/BirdNET-Pi/scripts/plotly_streamlit.py --browser.gatherUsageStats false --server.address localhost --server.baseUrlPath "/stats"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -380,6 +380,8 @@ config_icecast() {
|
||||
for i in "${passwords[@]}";do
|
||||
sed -i "s/<${i}password>.*<\/${i}password>/<${i}password>${ICE_PWD}<\/${i}password>/g" /etc/icecast2/icecast.xml
|
||||
done
|
||||
sed -i 's|<!-- <bind-address>.*|<bind-address>127.0.0.1</bind-address>|;s|<!-- <shoutcast-mount>.*|<shoutcast-mount>/stream</shoutcast-mount>|'
|
||||
|
||||
systemctl enable icecast2.service
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user