Renamed files (init requires file names < 15 characters) and added initial version of readme for e2e setup
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user