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