An open API service indexing awesome lists of open source software.

https://github.com/xcraft-inc/xcraft-core-daemon

Daemon helper
https://github.com/xcraft-inc/xcraft-core-daemon

daemon xcraft

Last synced: 23 days ago
JSON representation

Daemon helper

Awesome Lists containing this project

README

        

# xcraft-core-daemon

Manage the lifecycle of a daemon.

A daemon must be a node script. A pid file is created in a dedicated directory
and the `SIGTERM` signal is used in order to stop (kill) the daemon.

Note that the logs (stdout and stderr) are not really handled here. If the
daemon is not detached, then the logs are just piped to the parent process.

The Xcraft server is started by this module.