diff --git a/ct/calibre-web.sh b/ct/calibre-web.sh index 0400755db..e9254001a 100644 --- a/ct/calibre-web.sh +++ b/ct/calibre-web.sh @@ -44,7 +44,7 @@ function update_script() { msg_info "Installing Dependencies" cd /opt/calibre-web - $STD uv pip install --system --no-cache-dir -r requirements.txt + $STD uv sync --no-dev msg_ok "Installed Dependencies" msg_info "Restoring Data" diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index 3ec8c8adc..d899f3b76 100644 --- a/install/calibre-web-install.sh +++ b/install/calibre-web-install.sh @@ -35,7 +35,7 @@ setup_uv msg_info "Installing Python Dependencies" cd /opt/calibre-web -$STD uv pip install --system --no-cache-dir -r requirements.txt +$STD uv sync --no-dev msg_ok "Installed Python Dependencies" mkdir -p /opt/calibre-web/data @@ -50,7 +50,7 @@ After=network.target Type=simple User=root WorkingDirectory=/opt/calibre-web -ExecStart=/usr/bin/python3 /opt/calibre-web/cps.py +ExecStart=/opt/calibre-web/.venv/bin/python /opt/calibre-web/cps.py Restart=on-failure RestartSec=5