Skip to content

jail-maker/daemonize.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

daemonize.js

Simple library for create unix daemons

const Daemonize = require('daemonize');

let settings = {
    pid: "/var/run/programm.pid",
    cwd: "/",
};

let daemonize = new Daemonize(settings);

if (process.argv.indexOf('-d')) daemonize.start();
if (process.argv.indexOf('--daemonize')) daemonize.start();

About

Simple library for create unix daemons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published