mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-03 23:45:59 +00:00
Threadfin: use 'threadfin-app' as app name to avoid version-file clash (#14159)
This commit is contained in:
committed by
GitHub
parent
86293fda1b
commit
289708cc10
+2
-2
@@ -29,12 +29,12 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "threadfin" "threadfin/threadfin"; then
|
||||
if check_for_gh_release "threadfin-app" "threadfin/threadfin"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop threadfin
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
|
||||
fetch_and_deploy_gh_release "threadfin-app" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start threadfin
|
||||
|
||||
@@ -20,9 +20,7 @@ $STD apt install -y \
|
||||
vlc
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
|
||||
mv /root/.threadfin /root/.threadfin_version
|
||||
mkdir -p /root/.threadfin
|
||||
fetch_and_deploy_gh_release "threadfin-app" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/threadfin.service
|
||||
|
||||
Reference in New Issue
Block a user