From c85d517b919e9d522220eb0fa82a566d20f680de Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 27 Dec 2024 10:03:13 -0800 Subject: [PATCH] Update install.sh --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e4f9d16..b56b46b 100755 --- a/install.sh +++ b/install.sh @@ -154,7 +154,6 @@ replace="s|Group=pi|Group=$whoami|g" sed -i $replace etc/pong_bot.service sed -i $replace etc/mesh_bot.service sed -i $replace etc/mesh_bot_reporting.service -sudo systemctl daemon-reload printf "\n service files updated\n" if [ $bot == "pong" ]; then @@ -164,6 +163,7 @@ if [ $bot == "pong" ]; then # install service for pong bot sudo cp etc/pong_bot.service /etc/systemd/system/ sudo systemctl enable pong_bot.service + sudo systemctl daemon-reload fi if [ $bot == "mesh" ]; then @@ -173,6 +173,7 @@ if [ $bot == "mesh" ]; then # install service for mesh bot sudo cp etc/mesh_bot.service /etc/systemd/system/ sudo systemctl enable mesh_bot.service + sudo systemctl daemon-reload fi # check if running on embedded