fix deluge

This commit is contained in:
CanbiZ 2025-06-05 13:17:35 +02:00
parent 665a47e60b
commit dbfddc2332
3 changed files with 11 additions and 4 deletions

View File

@ -23,7 +23,9 @@ msg_info "Installing Deluge"
mkdir -p /opt/deluge mkdir -p /opt/deluge
cd /opt/deluge cd /opt/deluge
$STD uv venv /opt/deluge/.venv $STD uv venv /opt/deluge/.venv
$STD uv pip install "deluge[all]" libtorrent $STD /opt/prometheus-pve-exporter/.venv/bin/python -m ensurepip --upgrade
$STD /opt/prometheus-pve-exporter/.venv/bin/python -m pip install --upgrade pip
$STD /opt/prometheus-pve-exporter/.venv/bin/python -m pip install deluge libtorrent
msg_ok "Installed Deluge" msg_ok "Installed Deluge"
msg_info "Creating Service" msg_info "Creating Service"
@ -58,7 +60,8 @@ ExecStart=/opt/deluge/.venv/bin/deluge-web -d
Restart=on-failure Restart=on-failure
[Install] [Install]
WantedBy=multi-u WantedBy=multi-user.target
EOF
systemctl enable --now -q deluged.service systemctl enable --now -q deluged.service
systemctl enable --now -q deluge-web.service systemctl enable --now -q deluge-web.service

View File

@ -55,7 +55,9 @@ $STD unzip v${RELEASE}.zip
mv documenso-${RELEASE} /opt/documenso mv documenso-${RELEASE} /opt/documenso
cd /opt/documenso cd /opt/documenso
$STD uv venv /opt/documenso/.venv $STD uv venv /opt/documenso/.venv
$STD uv pip install bcrypt $STD /opt/documenso/.venv/bin/python -m ensurepip --upgrade
$STD /opt/documenso/.venv/bin/python -m pip install --upgrade pip
$STD /opt/documenso/.venv/bin/python -m pip install bcrypt
mv .env.example /opt/documenso/.env mv .env.example /opt/documenso/.env
sed -i \ sed -i \
-e "s|^NEXTAUTH_SECRET=.*|NEXTAUTH_SECRET='$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)'|" \ -e "s|^NEXTAUTH_SECRET=.*|NEXTAUTH_SECRET='$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)'|" \

View File

@ -24,7 +24,9 @@ mkdir -p /opt/esphome
mkdir -p /root/config mkdir -p /root/config
cd /opt/esphome cd /opt/esphome
$STD uv venv /opt/esphome/.venv $STD uv venv /opt/esphome/.venv
$STD uv pip install esphome tornado esptool $STD /opt/esphome/.venv/bin/python -m ensurepip --upgrade
$STD /opt/esphome/.venv/bin/python -m pip install --upgrade pip
$STD /opt/esphome/.venv/bin/python -m pip install esphome tornado esptool
msg_ok "Setup and Installed ESPHome" msg_ok "Setup and Installed ESPHome"
msg_info "Creating Service" msg_info "Creating Service"