process supervisor

A program that starts processes, watches them and restarts them if they exit, such as systemd or a container platform.

In more detail

A supervisor can only manage a process that stays in the foreground. With a supervisor in place, letting a broken process crash and restart cleanly is safer than trying to keep it alive. Process management belongs to the operating system or the platform, not to the app.

Example

On most Linux systems systemd is the supervisor. It records each service's state, restarts it on failure and captures its output in the journal. Long-lived work belongs under an intentional supervisor rather than in a background shell job.

Related terms

Taught in

References