srne-mqtt/deploy.sh

4 lines
197 B
Bash
Raw Normal View History

2022-01-26 20:04:48 +00:00
#!/bin/bash
2023-01-04 16:58:19 +00:00
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'