Add restarting systemd service to deploy
This commit is contained in:
parent
9bb8e2e02e
commit
b33a466c4f
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue