Correct local path in install script
This commit is contained in:
parent
d119bd485a
commit
3d8c091ee4
@ -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.service /etc/systemd/system/
|
||||||
sudo cp $run_directory/systemd-templates/dns-update.timer /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_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..."
|
echo "Reloading Systemd..."
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
|
Loading…
Reference in New Issue
Block a user