Renamed files (init requires file names < 15 characters) and added initial version of readme for e2e setup

This commit is contained in:
ToSa27
2014-08-21 16:45:24 +02:00
parent b936e0aebe
commit c8c56078b1
4 changed files with 301 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# pidfile must be first argument
PIDFILE=$1
mkdir -p /home/pi/logs
cd /home/pi/Arduino/NodeJsController
/opt/node/bin/node NodeJsController.js >>/home/pi/logs/NodeJsController.log 2>&1 </dev/null &
CHILD="$!"
echo $CHILD > $PIDFILE