Remove icecast onion address

This commit is contained in:
Bob Mottram 2017-11-26 21:35:30 +00:00
parent 98b427de1a
commit 0da9ed132f
1 changed files with 3 additions and 0 deletions

View File

@ -526,6 +526,8 @@ function remove_icecast {
if [ -d /etc/ices2 ]; then
rm -rf /etc/ices2
fi
function_check remove_onion_service
remove_onion_service icecast ${ICECAST_ONION_PORT}
sed -i '/icecast/d' $COMPLETION_FILE
}
@ -534,6 +536,7 @@ function install_icecast {
apt-get -yq update
debconf-set-selections <<< "icecast2 icecast2/icecast-setup boolean false"
apt-get -yq install icecast2
apt-get -yq install icecast2 ices2 ffmpeg apache2-utils
if [ ! -f /etc/icecast2/icecast.xml ]; then