Skip to content

Instantly share code, notes, and snippets.

@Oliv4945
Oliv4945 / README.md
Last active August 29, 2015 14:24 — forked from bigmonkeyboy/README.md

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

From https://gist.github.com/bigmonkeyboy/ , thanks !

sudo wget -O /tmp/download https://gist.github.com/Oliv4945/ebf2a6275eb35a339bf2/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...