1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00

Update rdtclient-install.sh

tweak
This commit is contained in:
tteckster 2023-07-07 00:43:15 -04:00 committed by GitHub
parent 12952cb399
commit 37eff0eb6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,9 +32,10 @@ msg_info "Installing rdtclient"
wget -q https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip
unzip -qq RealDebridClient.zip -d /opt/rdtc
rm RealDebridClient.zip
mkdir -p /data/db/
mkdir -p /data/downloads
msg_info "Installed rdtclient"
cd /opt/rdtc
mkdir -p /data/db/ /data/downloads
sed -i 's#/data/db/#/opt/rdtc&#g' /opt/rdtc/appsettings.json
msg_ok "Installed rdtclient"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/rdtc.service