From b8b9cb854f634ce826e15f19231e93d4bfd9e234 Mon Sep 17 00:00:00 2001 From: Paul Tanner Date: Mon, 13 Jan 2014 09:01:07 -0800 Subject: [PATCH] Updated ReadMe Raspberry Pi Advanced (markdown) --- ReadMe-Raspberry-Pi---Advanced.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ReadMe-Raspberry-Pi---Advanced.md b/ReadMe-Raspberry-Pi---Advanced.md index be8b6c0..c1affcf 100644 --- a/ReadMe-Raspberry-Pi---Advanced.md +++ b/ReadMe-Raspberry-Pi---Advanced.md @@ -69,3 +69,13 @@ To get to the terminal type screen -r red type Ctrl-A-D to detach and leave it running + +## Making node-red run forever (on crash or reboot) + +The answer should be daemonise it which could be done as a mod to node-red or by using forever. + +Forever's ability to restart automatically would be useful, especially during development. + +I have tried to get forever working in a stable way on pi but have found it erratic. It did not always daemonise and started throwing stdout onto the console despite the -o or -a switch. I suspect version incompatibilities although npm does not complain. + +If anyone has been successful please update this. \ No newline at end of file