This gist creates an init.d script to automatically run Node-RED at boot time.
To run it as a single step you can cut paste the following single line command
sudo wget -O /tmp/download https://gist.github.com/bigmonkeyboy/9962293/download && sudo tar -zxf /tmp/download --strip-components 1 -C /etc/init.d && sudo chmod 755 /etc/init.d/nodered && sudo update-rc.d nodered defaults
or click right-click "save as" this link - But please read the script first and satisfy yourself it's safe to execute in your environment...
Hi, I'm trying to run this on a machine with nvm installed. I've set nvm to use 0.12.8 and running node-red from the command line works fine and picks up that version. But using this service, node-red picks up v5.0.0 of node instead. Any idea how I might set version for this script as well?