Skip to content

Instantly share code, notes, and snippets.

View westtrade's full-sized avatar
🦄
I may be slow to respond.

Gennadiy Popov westtrade

🦄
I may be slow to respond.
View GitHub Profile
@westtrade
westtrade / node-ubuntu-upstart-service.md
Created September 10, 2016 20:51 — forked from willrstern/node-ubuntu-upstart-service.md
Run Node.js App as Ubuntu Upstart Service

###The Issue With Forever Forever is great for running node services, with a minor setback: the word "forever" doesn't apply to system reboots.

###The solution, run node apps as a system service logged in as root

vim /etc/init/node-app.conf

Contents for node-app.conf