From 9fb65e721bc7e298b04608ca198a08f5f516b4f7 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 3 Jun 2021 10:22:42 -0400 Subject: [PATCH] reload and restart added --- update.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 5f3bfbcf..8d76fccd 100755 --- a/update.sh +++ b/update.sh @@ -35,8 +35,9 @@ else fi if [ $FLAG -eq 1 ]; then - echo "systemctl daemon-reload" - sudo systemctl daemon-reload + echo "systemctl daemon-reload and restart" + sudo systemctl daemon-reload + sudo systemctl restart cubesatsim else grep 'changed' /home/pi/CubeSatSim/.updated if [[ $(grep 'changed' /home/pi/CubeSatSim/.updated) ]]; then