https://www.padok.fr/ https://www.padok.fr/en/blog https://www.padok.fr/en/blog/tag/cloud https://www.padok.fr/en/blog/docker-processes-container Context: The process tree and signal management
Each process can have child processes, and all have a parent process.
If the parent terminates, its child processes become orphaned and have to be adopted by another process: they are often adopted by init.
Be careful, however: the script here catches SIGTERM signals but does not propagate them to child processes.