From 7354192d949f7bac78c04bd553adc5b199db6eba Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sun, 28 Aug 2022 12:55:27 +0200 Subject: [PATCH] Update install script with new good practices (run_directory) --- 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 1ef66f5..285fe65 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:$(pwd):g" /etc/systemd/system/transmission-vpn.service +sudo sed -i -e "s:PH_DIRECTORY:$run_directory:g" /etc/systemd/system/transmission-vpn.service sudo cp $run_directory/transmission-vpn.timer /etc/systemd/system/ echo "Reloading Systemd..."