An implementation of linux 'daemonize` command. Daemonizer runs the program as a linux daemon.
During the daemonizing process:
- All open file descriptors are closed
- Program's working directory is changed to root in order to prevent filesystems from being unmounted
- File creation mask is cleared
- Parent process is killed and the daemon is branched directly to 'init'
- File descriptors 0, 1, and 2 are attached to root
- Process logs are directed to "syslog deamon"
Follow daemonize
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of daemonize!