daemonic

0.0.4 • Public • Published

daemonic

Daemonizer for node.js.

Usage

// Daemonize process based on args.
require('daemonic')({
  daemon: ['-d', '--daemonic']
});
 
// Daemonize process based on args (with extra node flags).
// Will exec new process to load node flags otherwise.
require('daemonic')({
  flags: ['--experimental-worker'],
  daemon: ['-d', '--daemonic']
});
 
// Always daemonize process (with extra node flags).
require('daemonic')({
  flags: ['--experimental-worker'],
  daemon: true
});

Contribution and License Agreement

If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work. </legalese>

License

  • Copyright (c) 2012-2019, Christopher Jeffrey (MIT License).

See LICENSE for more info.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    1
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i daemonic

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

7.88 kB

Total Files

4

Last publish

Collaborators

  • chjj