syno-upstarter
Version:
Easily create upstart services for your node apps on Synology NAS
47 lines (30 loc) • 835 B
Markdown
syno-upstarter
---------
Easily create upstart services for your node daemons
This is a porting of [carlos8f/node-upstarter](https://github.com/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
=======
```bash
$ npm install -g syno-upstarter
```
Usage
=====
In the root of your project, run:
```bash
$ 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:
```bash
$ sudo service my-service start
```
For more info, try the [Upstart cookbook](http://upstart.ubuntu.com/cookbook/).
Happy days!
License
=======
MIT