From c0e6b42e03580ba3576890927f552ed4aa456139 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 25 Nov 2017 21:38:32 +0000 Subject: [PATCH] Icecast on port 80 --- src/freedombone-app-icecast | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-icecast b/src/freedombone-app-icecast index a4b7cb96..845e8c43 100755 --- a/src/freedombone-app-icecast +++ b/src/freedombone-app-icecast @@ -76,11 +76,10 @@ function icecast_update_daemon { echo 'After=icecast2.service' >> /etc/systemd/system/ices2.service echo '' >> /etc/systemd/system/ices2.service echo '[Service]' >> /etc/systemd/system/ices2.service + echo 'Type=oneshot' >> /etc/systemd/system/ices2.service echo 'User=icecast2' >> /etc/systemd/system/ices2.service echo 'Group=icecast' >> /etc/systemd/system/ices2.service echo "ExecStart=/usr/bin/ices2 /etc/ices2/ices-playlist.xml" >> /etc/systemd/system/ices2.service - echo 'Restart=on-failure' >> /etc/systemd/system/ices2.service - echo 'RestartSec=10' >> /etc/systemd/system/ices2.service echo '' >> /etc/systemd/system/ices2.service echo '[Install]' >> /etc/systemd/system/ices2.service echo 'WantedBy=multi-user.target' >> /etc/systemd/system/ices2.service @@ -460,7 +459,7 @@ function install_icecast { fi fi - ICECAST_ONION_HOSTNAME=$(add_onion_service icecast ${ICECAST_PORT} ${ICECAST_ONION_PORT}) + ICECAST_ONION_HOSTNAME=$(add_onion_service icecast 80 ${ICECAST_ONION_PORT}) sed -i -e "s|[^<]*|$ICECAST_PASSWORD|" \ -e "s|[^<]*|$ICECAST_PASSWORD|" \