These are chat archives for nebrius/raspi-io

20th
May 2015
Derek Wheelden
@frxnz
May 20 2015 16:55
Anyone have a preferred way of running Node scripts on startup on the Pi?
Google gives me too many options
Bryan Hughes
@nebrius
May 20 2015 17:38
@frxnz I’m a huge fan of pm2 personally: https://www.npmjs.com/package/pm2
In addition to getting it to start for you automatically, it makes it easy to manage the process (restarting, killing, auto-restarting on crash, etc)
plus some really nice monitoring tools
Derek Wheelden
@frxnz
May 20 2015 18:58
Do you just use pm2 startup to generate the startup config?
Bryan Hughes
@nebrius
May 20 2015 19:05
yeah
Derek Wheelden
@frxnz
May 20 2015 19:09
Ok I'll give that a try. Thanks!