Using the service file provided in the wiki did not allow the service to start, even though starting it manually ( in screen or otherwise ) worked perfectly fine. It was giving the following error:
Aug 31 10:33:27 host python3[2559]: Traceback (most recent call last):
Aug 31 10:33:27 host python3[2559]: File "/path/to/automated-speedtests/automated-speedtests.py", line 29, in <module>
Aug 31 10:33:27 host python3[2559]: with open('config.json', 'r') as f:
Aug 31 10:33:27 host python3[2559]: FileNotFoundError: [Errno 2] No such file or directory: 'config.json'
Aug 31 10:33:27 host systemd[1]: speedtest.service: main process exited, code=exited, status=1/FAILURE
Aug 31 10:33:27 host systemd[1]: Unit speedtest.service entered failed state.
Aug 31 10:33:27 host systemd[1]: speedtest.service failed.
To correct this, I had to modify the automated-speedtests.py to have the full path to config.json:
with open('/path/to/automated-speedtests/config.json', 'r') as f:
config = json.load(f)
Once that was done, the service was able to start without issue.