mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-29 15:51:02 +02:00
calibre-web: install as package for 0.6.27's src-layout restructure
This commit is contained in:
+4
-1
@@ -45,9 +45,12 @@ function update_script() {
|
||||
cd /opt/calibre-web
|
||||
$STD uv venv --clear /opt/calibre-web/.venv
|
||||
$STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir --upgrade pip setuptools wheel
|
||||
$STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir -r requirements.txt
|
||||
$STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir .
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
sed -i 's|^ExecStart=.*|ExecStart=/opt/calibre-web/.venv/bin/cps|' /etc/systemd/system/calibre-web.service
|
||||
$STD systemctl daemon-reload
|
||||
|
||||
restore_backup
|
||||
|
||||
msg_info "Starting Service"
|
||||
|
||||
Reference in New Issue
Block a user