Kebler Network System Administrator
3acf88c918
refactor: better run script |
||
---|---|---|
.gitignore | ||
install | ||
install-service | ||
node-red-log | ||
node-red.service | ||
readme.md | ||
run | ||
start | ||
stop | ||
update | ||
upgrade |
readme.md
Node Red - Runner
This repo aids in keeping node-red up to date and running via a systemd Service
Clone this repo
git clone https://git.kebler.net/IOT/node-red-run.git /opt/node-red-run &&
cd /opt/node-red-run &&
./install
you can try running nodered ./run <dir>
if that works fine then if need be edit the node-red.service file environment varaiable for alternative user directory otherwise it will use the default /opt/node-red
run ./install-service
script
all should be find and the node-red should be running at :1880
./start
and ./stop
script are systemctl aliases which can used after install
run ./update
to update the latest version of node-red and esm