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

View file

@ -1,2 +1,3 @@
#!/bin/bash #!/bin/bash
rsync --exclude=.git --exclude='packet format.java' --exclude-from=.gitignore -ravC . pi@solarpi:ble 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'