0.2.6 • Published 9 years ago

syno-upstarter v0.2.6

Weekly downloads
7
License
-
Repository
github
Last release
9 years ago

syno-upstarter

Easily create upstart services for your node daemons

This is a porting of carlos8f/node-upstarter made for Synology NAS.

Idea

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

upstarter to the rescue!

Install

$ npm install -g syno-upstarter

Usage

In the root of your project, run:

$ sudo syno-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

For more info, try the Upstart cookbook.

Happy days!

License

MIT