set Express to start on boot and add to rc

23 views
Skip to first unread message

Uomo di Carbone

unread,
Aug 23, 2015, 11:31:08 PM8/23/15
to Express

Hello,

I'm running nodejs with express on a Raspberry Pi.  (I compiled nodejs)
I switch express to run on port 80 and am port forwarding the service.

How can I set up express to be a part of rc and or startup up on boot.

With apache we do the following with Debian:
update-rc.d apache2 defaults
 Is there a way to do this with express.

Thanks,
cwc

Ryan Schmidt

unread,
Aug 26, 2015, 5:32:50 AM8/26/15
to expre...@googlegroups.com
There's nothing express-specific (or node-specific) for this, that I'm aware of (but I haven't searched npm). Rather, it's specific to the operating system you're using. So if you're using Debian, search for how to make something launch at startup under Debian, then do that for your express app.

Reply all
Reply to author
Forward
0 new messages