From 12952cb399fca77f632f0bad5d8070594f96ad96 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 6 Jul 2023 23:53:23 -0400 Subject: [PATCH] Update rdtclient-install.sh --- install/rdtclient-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/rdtclient-install.sh b/install/rdtclient-install.sh index 5d9cc1a8..b0d7122a 100644 --- a/install/rdtclient-install.sh +++ b/install/rdtclient-install.sh @@ -27,20 +27,21 @@ rm packages-microsoft-prod.deb $STD apt-get update $STD apt-get install -y dotnet-sdk-6.0 msg_ok "Installed ASP.NET Core Runtime" + 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/ # defaults for rdtclient -mkdir -p /data/downloads # defaults for rdtclient +mkdir -p /data/db/ +mkdir -p /data/downloads msg_info "Installed rdtclient" + msg_info "Creating Service" cat </etc/systemd/system/rdtc.service [Unit] Description=RdtClient Service [Service] - WorkingDirectory=/opt/rdtc ExecStart=/usr/bin/dotnet RdtClient.Web.dll SyslogIdentifier=RdtClient @@ -49,7 +50,6 @@ User=root [Install] WantedBy=multi-user.target EOF -$STD systemctl daemon-reload $STD systemctl enable -q --now rdtc msg_ok "Created Service"