diff --git a/install.sh b/install.sh index c4d1b11..7519365 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ fi echo "Copying WebSSH unit to system directory..." $sudo cp systemd-templates/boot-sms.service /etc/systemd/system/ -$sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/boot-sms.service +$sudo sed -i -e "s:PH_DIRECTORY:$run_directory:g" /etc/systemd/system/boot-sms.service echo "Reloading Systemd..." $sudo systemctl daemon-reload