Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Daemonize current process #4594

@manobi

Description

@manobi

How can I daemonize the current process ? I used to do it using node.daemon, but this is no more working in recent versions.

node.daemon readme says to use " detached child processes in Node.js core instead", but I do not need to start a new process as daemon, but the current running process.

Anyone suggest something to me ?

Here goes an example of how I used to do:
https://github.com/indexzero/daemon.node/blob/master/examples/bindings.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions