yurt / weather

/etc/systemd/system/weather.service Commits Diff Raw
[Unit]
Description=Record weather data
Wants=network-online.target
After=network-online.target
[Service]
Environment="PURPLE_ENV=PROD"
Type=simple
Restart=no
WorkingDirectory=/home/tree/projects/weather-station
ExecStart=/home/tree/projects/weather-station/weather.py
User=tree
[Install]
WantedBy=multi-user.target