Initial commit: river level monitoring service

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-05 00:09:00 +01:00
commit afe742dcce
4 changed files with 577 additions and 0 deletions

12
river-monitor.service Normal file
View File

@@ -0,0 +1,12 @@
[Unit]
Description=Poll UK Environment Agency river levels and rebuild dashboard
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
# Adjust the path below to wherever you copy river_monitor.py
ExecStart=/usr/bin/python3 %h/river-monitor/river_monitor.py
[Install]
WantedBy=default.target