Skip to content

novaksolutions/node-upstarter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Easily create upstart services for your node apps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%