From 3d8c091ee4825cf69d2b3c0b603563a0513d08c6 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sun, 28 Aug 2022 12:41:33 +0200 Subject: [PATCH] Correct local path in install script --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index ed1e80d..e9d83bf 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ echo "Copying Systemd units to system directory..." sudo cp $run_directory/systemd-templates/dns-update.service /etc/systemd/system/ sudo cp $run_directory/systemd-templates/dns-update.timer /etc/systemd/system/ sudo sed -i -e "s/PH_USER/$(whoami)/g" /etc/systemd/system/dns-update.service -sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/dns-update.service +sudo sed -i -e "s:PH_DIRECTORY:$run_directory:g" /etc/systemd/system/dns-update.service echo "Reloading Systemd..." sudo systemctl daemon-reload