Daemon
A long-running background process managed by the operating system's service supervisor.
A daemon is a program that runs in the background rather than attached to a session, typically started and supervised by the operating system: systemd on Linux, launchd on macOS, the service manager on Windows.
Supervision is the feature and the complication. A supervisor can restart a service when it exits unexpectedly, which turns an occasional crash into an invisible blip — genuinely useful when an underlying framework is unreliable. It also means the process cannot simply be killed: a signal reads as a crash and triggers a restart, so stopping it requires either a clean exit or unloading the job from the supervisor.
Registration is where the subtle failures live. A supervisor records the path it was told about, and if that path was captured in an unusual context — a sandboxed shell with a remapped home directory, for example — the record points at somewhere that does not exist. Every subsequent launch then fails, silently and quickly, and the fix requires clearing the registration rather than reinstalling the program. Registering from a normal launch, rather than by executing the binary directly, avoids the whole class of problem.
Scheduled work is the daemon's near relative; see Cron.
See also4
Process
A running program with its own memory, environment, and identity.
Systems & Tooling19 connections
Cron
Time-based scheduling of recurring jobs, and the reasons scheduled jobs quietly stop working.
Systems & Tooling14 connections
Code Signing
Cryptographically attesting who produced a binary, and the operating-system checks built on it.
Systems & Tooling18 connections
Observability
How much of a system's internal state can be inferred from what it emits.
Method24 connections
Related6
Nearby in the graph rather than deliberately chosen. Looser, sometimes surprising.
Linked from7
- Code SigningSystems & Tooling
Cryptographically attesting who produced a binary, and the operating-system checks built on it.
- CronSystems & Tooling
Time-based scheduling of recurring jobs, and the reasons scheduled jobs quietly stop working.
- Idle GamePlay & Games
A genre in which progress continues while the player is absent, built on exponential curves the player learns to read.
- Init SystemSystems & Tooling
The first userspace process a kernel starts, and the ancestor of every other process on the machine.
- ObservabilityMethod
How much of a system's internal state can be inferred from what it emits.
- ProcessSystems & Tooling
A running program with its own memory, environment, and identity.
- SystemdSystems & Tooling
The dominant Linux init system, replacing sequential startup scripts with declarative, parallel, dependency-aware units.