# systemd unit for the Work-Day Reliability logger. Copy to /etc/systemd/system/, edit User/paths/--iperf, then: # sudo systemctl daemon-reload && sudo systemctl enable --now workday-logger [Unit] Description=Starlink Remote Work USA work-day reliability logger After=network-online.target Wants=network-online.target [Service] User=pi ExecStart=/usr/bin/python3 /home/pi/workday_logger.py --out /home/pi/workday-data --targets 1.1.1.1 8.8.8.8 9.9.9.9 Restart=always RestartSec=10 # The logger only reads: it never changes dish or router settings and sends nothing anywhere. NoNewPrivileges=true ProtectSystem=strict ReadWritePaths=/home/pi/workday-data [Install] WantedBy=multi-user.target