Add restarting systemd service to deploy

This commit is contained in:
Odd Stråbø 2023-12-09 16:37:09 +01:00
parent 9bb8e2e02e
commit b33a466c4f
1 changed files with 1 additions and 0 deletions

View File

@ -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'