Remove icecast onion address
This commit is contained in:
parent
98b427de1a
commit
0da9ed132f
@ -526,6 +526,8 @@ function remove_icecast {
|
|||||||
if [ -d /etc/ices2 ]; then
|
if [ -d /etc/ices2 ]; then
|
||||||
rm -rf /etc/ices2
|
rm -rf /etc/ices2
|
||||||
fi
|
fi
|
||||||
|
function_check remove_onion_service
|
||||||
|
remove_onion_service icecast ${ICECAST_ONION_PORT}
|
||||||
sed -i '/icecast/d' $COMPLETION_FILE
|
sed -i '/icecast/d' $COMPLETION_FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -534,6 +536,7 @@ function install_icecast {
|
|||||||
apt-get -yq update
|
apt-get -yq update
|
||||||
|
|
||||||
debconf-set-selections <<< "icecast2 icecast2/icecast-setup boolean false"
|
debconf-set-selections <<< "icecast2 icecast2/icecast-setup boolean false"
|
||||||
|
apt-get -yq install icecast2
|
||||||
apt-get -yq install icecast2 ices2 ffmpeg apache2-utils
|
apt-get -yq install icecast2 ices2 ffmpeg apache2-utils
|
||||||
|
|
||||||
if [ ! -f /etc/icecast2/icecast.xml ]; then
|
if [ ! -f /etc/icecast2/icecast.xml ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user