mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-28 19:44:43 +00:00
Tunarr: fix path to backup during update (#14655)
* increase default ram due to oom-killer logs during library scans and fix backup path checking * fix ram value * revert resource changes * correct disk size
This commit is contained in:
committed by
GitHub
parent
26b1adfbcc
commit
cf5db6b687
+3
-3
@@ -34,11 +34,11 @@ function update_script() {
|
|||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Creating Backup"
|
msg_info "Creating Backup"
|
||||||
if [ -d "/usr/local/share/tunarr" ]; then
|
if [ -d "/root/.local/share/tunarr" ]; then
|
||||||
tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" /usr/local/share/tunarr $STD
|
tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" /root/.local/share/tunarr $STD
|
||||||
msg_ok "Backup Created"
|
msg_ok "Backup Created"
|
||||||
else
|
else
|
||||||
msg_error "Backup failed: /usr/local/share/tunarr does not exist"
|
msg_error "Backup failed: /root/.local/share/tunarr does not exist"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "prebuild" "latest" "/opt/tunarr" "*linux-x64.tar.gz"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "prebuild" "latest" "/opt/tunarr" "*linux-x64.tar.gz"
|
||||||
|
|||||||
Reference in New Issue
Block a user