Skip to content

Instantly share code, notes, and snippets.

@ImTheDeveloper
ImTheDeveloper / node-red
Last active Aug 29, 2015
update node path - use "which node" to find this path in ubuntu
View node-red
#!/bin/bash
### BEGIN INIT INFO
# Provides: node-red
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop the node-red server
### END INIT INFO
# Can be downloaded and installed in one go by using this command
@ImTheDeveloper
ImTheDeveloper / node-red
Created Oct 10, 2014 — forked from bigmonkeyboy/README.md
Node-Red Init.d Script - Updated
View node-red
#! /bin/sh
# Starts and stops Node-RED
# /etc/init.d/node-red
### BEGIN INIT INFO
# Provides: node-red
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Node-RED initialisation