foreground process
A process that keeps running as the one its launcher started, instead of detaching into the background.
In more detail
Supervisors, restart policies, health checks and log capture all assume the work happens in the process that was started. Each line of a Procfile is a foreground command.
Related terms
- daemonize — To make a program detach itself and keep running in the background, traditionally by forking and exiting the original process.
- process supervisor — A program that starts processes, watches them and restarts them if they exit, such as systemd or a container platform.
- Procfile — A text file listing one line per process type and the command that starts it, first used by Heroku.
Taught in
- Port Binding And Concurrency — DevOps & Site Reliability Engineering