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
- Host: GitHub
- URL: https://github.com/xcraft-inc/xcraft-core-daemon
- Owner: Xcraft-Inc
- Created: 2016-08-04T13:58:56.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-02T14:23:58.000Z (9 months ago)
- Last Synced: 2025-04-10T16:46:24.255Z (about 2 months ago)
- Topics: daemon, xcraft
- Language: JavaScript
- Size: 88.9 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.