doorlock/start.sh

6 lines
258 B
Bash
Raw Normal View History

2018-08-31 22:01:05 +00:00
~/.nvm/versions/node/v10.6.0/bin/forever stopall
~/.nvm/versions/node/v10.6.0/bin/forever start --workingDir /home/pi/doorlock /home/pi/doorlock/src/server.js
echo "Loading Browser..."
sleep 5
chromium-browser --incognito --kiosk --app=http://localhost:3000