Update install script with new good practices (run_directory)
This commit is contained in:
parent
a463e1e742
commit
dfc59eb870
@ -16,7 +16,7 @@ fi
|
|||||||
|
|
||||||
echo "Copying WebSSH unit to system directory..."
|
echo "Copying WebSSH unit to system directory..."
|
||||||
$sudo cp systemd-templates/boot-sms.service /etc/systemd/system/
|
$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..."
|
echo "Reloading Systemd..."
|
||||||
$sudo systemctl daemon-reload
|
$sudo systemctl daemon-reload
|
||||||
|
Loading…
Reference in New Issue
Block a user