fix deluge
This commit is contained in:
parent
665a47e60b
commit
dbfddc2332
@ -23,7 +23,9 @@ msg_info "Installing Deluge"
|
||||
mkdir -p /opt/deluge
|
||||
cd /opt/deluge
|
||||
$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_info "Creating Service"
|
||||
@ -58,7 +60,8 @@ ExecStart=/opt/deluge/.venv/bin/deluge-web -d
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-u
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
systemctl enable --now -q deluged.service
|
||||
systemctl enable --now -q deluge-web.service
|
||||
|
@ -55,7 +55,9 @@ $STD unzip v${RELEASE}.zip
|
||||
mv documenso-${RELEASE} /opt/documenso
|
||||
cd /opt/documenso
|
||||
$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
|
||||
sed -i \
|
||||
-e "s|^NEXTAUTH_SECRET=.*|NEXTAUTH_SECRET='$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)'|" \
|
||||
|
@ -24,7 +24,9 @@ mkdir -p /opt/esphome
|
||||
mkdir -p /root/config
|
||||
cd /opt/esphome
|
||||
$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_info "Creating Service"
|
||||
|
Loading…
x
Reference in New Issue
Block a user