From 5fcd21680e19c53ac89bab5033384d414b6d138c Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 21 Jan 2025 19:29:27 -0800 Subject: [PATCH] Update install.sh --- install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 0b9f183..ab3fc41 100755 --- a/install.sh +++ b/install.sh @@ -267,7 +267,8 @@ if [[ $(echo "${embedded}" | grep -i "^n") ]]; then printf "sudo systemctl daemon-reload\n" >> install_notes.txt printf "sudo systemctl enable %s.service\n" "$service" >> install_notes.txt printf "sudo systemctl start %s.service\n" "$service" >> install_notes.txt - printf "sudo systemctl status %s.service\n\n" "$service" >> install_notes.txt + printf "sudo systemctl status %s.service\n" "$service" >> install_notes.txt + printf "sudo systemctl restart %s.service\n\n" "$service" >> install_notes.txt printf "To see logs and stop the service:\n" >> install_notes.txt printf "sudo journalctl -u %s.service\n" "$service" >> install_notes.txt printf "sudo systemctl stop %s.service\n" "$service" >> install_notes.txt @@ -301,7 +302,9 @@ else sudo systemctl enable $service.service sudo systemctl start $service.service printf "Reference following commands:\n\n" "$service" > install_notes.txt - printf "sudo systemctl status %s.service\n\n" "$service" >> install_notes.txt + printf "sudo systemctl status %s.service\n" "$service" >> install_notes.txt + printf "sudo systemctl start %s.service\n" "$service" >> install_notes.txt + printf "sudo systemctl restart %s.service\n\n" "$service" >> install_notes.txt printf "To see logs and stop the service:\n" >> install_notes.txt printf "sudo journalctl -u %s.service\n" "$service" >> install_notes.txt printf "sudo systemctl stop %s.service\n" "$service" >> install_notes.txt