This commit is contained in:
Slaviša Arežina
2025-08-01 07:23:27 +02:00
committed by GitHub
parent 82ff5f587e
commit 3bb787d746
3 changed files with 20 additions and 13 deletions

View File

@ -17,13 +17,7 @@ msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y ffmpeg
msg_ok "Installed Dependencies"
msg_info "Installing Owncast"
mkdir /opt/owncast
cd /opt/owncast
curl -fsSL "$(curl -fsSL https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-64bit | cut -d\" -f4)" -o $(basename "$(curl -fsSL https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-64bit | cut -d\" -f4)")
$STD unzip owncast*.zip
rm owncast*.zip
msg_ok "Installed Owncast"
fetch_and_deploy_gh_release "owncast" "owncast/owncast" "prebuild" "latest" "/opt/owncast" "owncast*linux-64bit.zip"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/owncast.service