Create start.sh

This commit is contained in:
zyphlar 2018-08-31 15:01:05 -07:00 committed by GitHub
parent de78173854
commit 5a6925e11a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
start.sh Normal file
View File

@ -0,0 +1,5 @@
~/.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 --kiosk localhost:3000