[Unit] Description=Record weather data After=network.target [Service] Environment="PURPLE_ENV=PROD" Type=simple Restart=always WorkingDirectory=/home/tree/projects/weather-station ExecStart=/home/tree/projects/weather-station/weather.py User=tree [Install] WantedBy=multi-user.target