7732f92bad5f24a4bd03bb357af46da56b0ac94d |
|
03-Feb-2016 |
Lennart Poettering <lennart@poettering.net> |
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. |