Merge pull request #27 from PeteBa/align-with-npm-start

Align instructions with npm start
This commit is contained in:
Samer Albahra
2019-05-15 17:41:29 -05:00
committed by GitHub

View File

@@ -96,7 +96,7 @@ Cut and paste the following lines into the weather.service file:
Description=OpenSprinkler Weather Server Description=OpenSprinkler Weather Server
[Service] [Service]
ExecStart=/usr/bin/node /home/pi/weather/server.js ExecStart=/usr/bin/npm start
WorkingDirectory=/home/pi/weather WorkingDirectory=/home/pi/weather
Restart=always Restart=always
RestartSec=10 RestartSec=10