From d433f0d04f66ec747ee577942cce2078466d963a Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sat, 12 Nov 2022 15:30:45 +0100 Subject: [PATCH] Correct error in install script --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2eeb313..2a046a2 100755 --- a/install.sh +++ b/install.sh @@ -49,7 +49,7 @@ if [ "$dl_server" = "yes" ]; then $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/systemd-templates/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/systemd-templates/transmission-vpn.timer /etc/systemd/system/ $sudo cp $run_directory/nginx-blocks/transmission /etc/nginx/sites-available/transmission $sudo sed -i -e "s/PH_FQDN/$(hostname)/g" /etc/nginx/sites-available/transmission