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
|
wget -q https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip
|
||||||
unzip -qq RealDebridClient.zip -d /opt/rdtc
|
unzip -qq RealDebridClient.zip -d /opt/rdtc
|
||||||
rm RealDebridClient.zip
|
rm RealDebridClient.zip
|
||||||
mkdir -p /data/db/
|
cd /opt/rdtc
|
||||||
mkdir -p /data/downloads
|
mkdir -p /data/db/ /data/downloads
|
||||||
msg_info "Installed rdtclient"
|
sed -i 's#/data/db/#/opt/rdtc&#g' /opt/rdtc/appsettings.json
|
||||||
|
msg_ok "Installed rdtclient"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/rdtc.service
|
cat <<EOF >/etc/systemd/system/rdtc.service
|
||||||
|
|
Loading…
Reference in a new issue