Update sonobarr.sh

This commit is contained in:
Tobias 2026-01-31 11:33:13 +01:00 committed by GitHub
parent 4650988701
commit ef9fa9b36a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,9 +32,9 @@ function update_script() {
PYTHON_VERSION="3.12" setup_uv
if check_for_gh_release "sonobarr" "Dodelidoo-Labs/sonobarr"; then
msg_info "Stopping sonobarr"
msg_info "Stopping Service"
systemctl stop sonobarr
msg_ok "Stopped sonobarr"
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "sonobarr" "Dodelidoo-Labs/sonobarr" "tarball"
@ -45,9 +45,9 @@ function update_script() {
sed -i "/release_version/s/=.*/=$(cat ~/.sonobarr)/" /etc/sonobarr/.env
msg_ok "Updated sonobarr"
msg_info "Starting sonobarr"
msg_info "Starting Service"
systemctl start sonobarr
msg_ok "Started sonobarr"
msg_ok "Started Service"
msg_ok "Updated successfully!"
fi
exit