Update rdtclient-install.sh
tweak
This commit is contained in:
parent
12952cb399
commit
37eff0eb6a
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue