added python venv creation

This commit is contained in:
GoldenSpring 2026-01-03 12:57:57 +03:00
parent 2e2a539a34
commit c7b2c885db
No known key found for this signature in database
GPG Key ID: 75701174BCB6A808
2 changed files with 8 additions and 2 deletions

View File

@ -7,8 +7,8 @@ source <(curl -s https://raw.githubusercontent.com/GoldenSpringness/ProxmoxVED/r
APP="sonobarr"
var_tags="${var_tags:-storage}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-1024}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-512}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"

View File

@ -16,7 +16,13 @@ update_os
fetch_and_deploy_gh_release "sonobarr" "Dodelidoo-Labs/sonobarr" "tarball"
msg_info "Setting up sonobarr"
cd /opt/sonobarr
python3 -m venv venv
source venv/bin/activate
pip install --no-cache-dir -r requirements.txt
msg_ok "Set up sonobarr"