Initial commit: river level monitoring service
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
river-monitor.service
Normal file
12
river-monitor.service
Normal 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
|
||||
Reference in New Issue
Block a user