Browse Source

Remove icecast onion address

Bob Mottram 7 years ago
parent
commit
0da9ed132f
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-app-icecast

+ 3
- 0
src/freedombone-app-icecast View File

526
     if [ -d /etc/ices2 ]; then
526
     if [ -d /etc/ices2 ]; then
527
         rm -rf /etc/ices2
527
         rm -rf /etc/ices2
528
     fi
528
     fi
529
+    function_check remove_onion_service
530
+    remove_onion_service icecast ${ICECAST_ONION_PORT}
529
     sed -i '/icecast/d' $COMPLETION_FILE
531
     sed -i '/icecast/d' $COMPLETION_FILE
530
 }
532
 }
531
 
533
 
534
     apt-get -yq update
536
     apt-get -yq update
535
 
537
 
536
     debconf-set-selections <<< "icecast2 icecast2/icecast-setup boolean false"
538
     debconf-set-selections <<< "icecast2 icecast2/icecast-setup boolean false"
539
+    apt-get -yq install icecast2
537
     apt-get -yq install icecast2 ices2 ffmpeg apache2-utils
540
     apt-get -yq install icecast2 ices2 ffmpeg apache2-utils
538
 
541
 
539
     if [ ! -f /etc/icecast2/icecast.xml ]; then
542
     if [ ! -f /etc/icecast2/icecast.xml ]; then