From 6605419db712f2c12d30be98b6788a1012929f90 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Thu, 22 Sep 2022 18:13:31 +0200 Subject: [PATCH] Fix error in dl's install script --- dl-server/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dl-server/install.sh b/dl-server/install.sh index 285fe65..1ef66f5 100755 --- a/dl-server/install.sh +++ b/dl-server/install.sh @@ -16,7 +16,7 @@ sudo sed -i -e "s/PH_USER/$user/g" /etc/systemd/system/transmission-daemon.servi sudo sed -i -e "s/PH_PASSWORD/$password/g" /etc/systemd/system/transmission-daemon.service sudo sed -i -e "s:PH_DL_LOCATION:$dl_location:g" /etc/systemd/system/transmission-daemon.service sudo cp $run_directory/transmission-vpn.service /etc/systemd/system/ -sudo sed -i -e "s:PH_DIRECTORY:$run_directory:g" /etc/systemd/system/transmission-vpn.service +sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/transmission-vpn.service sudo cp $run_directory/transmission-vpn.timer /etc/systemd/system/ echo "Reloading Systemd..."