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..."