[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