how to start a node script on startup on raspberry pi 3 code example Example: get raspberry pi to run node on startup su pi -c 'node /home/pi/server.js < /dev/null &'