From b33a466c4fb0b84907ae44e8fe240bee2af6d138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Sat, 9 Dec 2023 16:37:09 +0100 Subject: [PATCH] Add restarting systemd service to deploy --- deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy.sh b/deploy.sh index dc92d5b..79979b7 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,2 +1,3 @@ #!/bin/bash rsync --exclude=.git --exclude='packet format.java' --exclude-from=.gitignore -ravC . pi@solarpi:ble +ssh pi@solarpi 'systemctl --user daemon-reload; systemctl --user restart solarmppt'