Fetch local weather from Dark Sky API.
https://wthr.ml/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
276 B
14 lines
276 B
[Unit]
|
|
Description=Fetch local weather
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/home/kevin/weather/dark-sky.sh
|
|
User=kevin
|
|
Group=kevin
|
|
Environment=PATH=/usr/bin:/usr/local/bin
|
|
Environment=NODE_ENV=production
|
|
WorkingDirectory=/home/kevin/weather
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|