From dfc59eb870d1d9fc8211cb9a0ce9eec790db2414 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sun, 28 Aug 2022 12:54:43 +0200 Subject: [PATCH] Update install script with new good practices (run_directory) --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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