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"

Project Activity

See All Activity >

Follow daemonize

daemonize Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of daemonize!

Additional Project Details

Registered

2013-03-12