Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 834 Bytes

README.md

File metadata and controls

52 lines (35 loc) · 834 Bytes

upstarter

Easily create upstart services for your node daemons

Made for Ubuntu. Sorry, everyone else.

Idea

So you made your cool Node.js HTTP server thing, but how do you run it as a proper service when your system boots?

upstarter to the rescue!

Install

$ npm install -g upstarter

Usage

In the root of your project, run:

$ sudo upstarter

upstarter will ask you some stuff. When the survey is complete, you'll have a service conf in /etc/init. Then you can:

$ sudo service my-service start

Usage - Non Interactive

$ sudo upstarter -n $name -d "$description" -c $workingDir --no-ask -- $command

For more info, try the Upstart cookbook.

Happy days!

License

MIT