diff options
author | Robert Scheibe <rob.scheibe@gmail.com> | 2025-01-04 16:06:05 +0100 |
---|---|---|
committer | Robert Scheibe <rob.scheibe@gmail.com> | 2025-01-04 16:06:05 +0100 |
commit | a07c89c0fb9659c9961f8d9cef7ec49123b2171f (patch) | |
tree | 98818e61cf9a9bf184a5db12ff2e776c10781d09 /deploy.sh | |
parent | 047178cc439a68c1366a215f4827b52f6437309b (diff) |
added moisture sensor
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,7 @@ #!/bin/bash set -e -scp plot_new.py read_dht11.py water_the_plant create_backup make_photo index.html history.html *.png robert@waterpi: -ssh robert@waterpi -C 'sudo cp index.html history.html *.png /var/www/html; sudo chown www-data:www-data /var/www/html/*.html /var/www/html/*.png; sudo cp plot_new.py read_dht11.py create_backup make_photo plot.py read_temperature.py water_the_plant /usr/local/bin' +scp plot.py read_sensors.py water_the_plant create_backup make_photo index.html history.html *.png robert@waterpi: +ssh robert@waterpi -C '\ + sudo cp index.html history.html *.png /var/www/html; \ + sudo chown www-data:www-data /var/www/html/*.html /var/www/html/*.png; \ + sudo cp plot.py read_sensors.py create_backup make_photo plot.py read_temperature.py water_the_plant /usr/local/bin' |