initd-node

0.0.4 • Public • Published

initd-node Build Status

initd-node is a node.js module to create a debian based startup script for your application.

The package generates a shell script for /etc/init.d using start-stop-daemon.

Installation

npm install initd-node -g

Usage

To generate a startup script, use following options:

		-a, --app			Path to node.js main js file
		-e, --env			Export NODE_ENV with ENV value (default production)
		-n, --name			Application name
		-g, --group			Group (default current group id)
		-u, --user			User (default current user id)

If you don't specify any option, initd-node try to load from the package.json file on current directory.

Authors and contributors

Current

License

MIT license

Package Sidebar

Install

npm i initd-node

Weekly Downloads

2

Version

0.0.4

License

MIT

Last publish

Collaborators

  • asessa