Friday, 2 June 2017

Can I run a script on my Pi and keep it running when I close SSH?

I have a Raspberry Pi running Debian Lite (terminal only, no desktop). I've installed Node.js and am currently running a script by making an SSH connection through puTTY.

The problem is, when I close the puTTY window the script stops running. I need it to run when my desktop is turned off, otherwise having it on the Pi is pointless.

So far I have tried: -Nohup | Appended the output but still stopped running when I closed the terminal.



via John Doe

No comments:

Post a Comment