Skip to content

Commit

Permalink
put the weather station data in a separate directory outside this rep…
Browse files Browse the repository at this point in the history
…ository by default.

It allows versioning that data in a separate git repository
  • Loading branch information
masneyb committed Aug 1, 2016
1 parent 88eecff commit e0b4ab0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion systemd/argent-80422-gatherer.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=network.target network-online.target multi-user.target

[Service]
User=root
ExecStart=/home/masneyb/data/pi-yadl/bin/yadl --sensor argent_80422 --wind_speed_pin 1 --rain_gauge_pin 2 --adc mcp3008 --spi_channel 0 --analog_channel 0 --adc_millivolts 5100 --wind_speed_unit mph --rain_gauge_unit in --sleep_millis_between_results 30000 --num_results -1 --output rrd --outfile /home/masneyb/data/weather-station/web/argent_80422.rrd --output single_json --outfile /home/masneyb/data/weather-station/web/argent_80422.json
ExecStart=/home/masneyb/data/pi-yadl/bin/yadl --sensor argent_80422 --wind_speed_pin 1 --rain_gauge_pin 2 --adc mcp3008 --spi_channel 0 --analog_channel 0 --adc_millivolts 5100 --wind_speed_unit mph --rain_gauge_unit in --sleep_millis_between_results 30000 --num_results -1 --output rrd --outfile /home/masneyb/data/weather-station-data/argent_80422.rrd --output single_json --outfile /home/masneyb/data/weather-station-data/argent_80422.json

[Install]
WantedBy=multi-user.target
Expand Down
2 changes: 1 addition & 1 deletion systemd/weather-station-create-graphs.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Description=Create graphs for the weather station
[Service]
User=masneyb
Type=simple
ExecStart=/home/masneyb/data/weather-station/bin/create-graphs.sh /home/masneyb/data/pi-yadl/bin /home/masneyb/data/weather-station/web
ExecStart=/home/masneyb/data/weather-station/bin/create-graphs.sh /home/masneyb/data/pi-yadl/bin /home/masneyb/data/weather-station-data
2 changes: 1 addition & 1 deletion systemd/weather-station-gatherer.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Type=simple
# to the end of the call to gather-data.sh.
# gather-data.sh <path to yadl binary> <path to web/ directory [ <weather underground ID> <weather underground password> ]

ExecStart=/home/masneyb/data/weather-station/bin/gather-data.sh /home/masneyb/data/pi-yadl/bin/yadl /home/masneyb/data/weather-station/web
ExecStart=/home/masneyb/data/weather-station/bin/gather-data.sh /home/masneyb/data/pi-yadl/bin/yadl /home/masneyb/data/weather-station-data

0 comments on commit e0b4ab0

Please sign in to comment.