diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-03 20:32:06 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-03 23:58:24 +0100 |
commit | 7732f92bad5f24a4bd03bb357af46da56b0ac94d (patch) | |
tree | 10e33a8ec564376365e05a0f12681a73aab40986 /src/binfmt | |
parent | 021dd87bc055a5bfb2dcef83fc868fe24648b959 (diff) |
nspawn: optionally run a stub init process as PID 1
This adds a new switch --as-pid2, which allows running commands as PID 2, while a stub init process is run as PID 1.
This is useful in order to run arbitrary commands in a container, as PID1's semantics are different from all other
processes regarding reaping of unknown children or signal handling.
Diffstat (limited to 'src/binfmt')
0 files changed, 0 insertions, 0 deletions