syno-upstarter

Easily create upstart services for your node apps on Synology NAS

Usage no npm install needed!

<script type="module">
  import synoUpstarter from 'https://cdn.skypack.dev/syno-upstarter';
</script>

README

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