chiark / gitweb /
nspawn: pass the container's init PID out via sd_notify()
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Jan 2015 22:29:01 +0000 (23:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Jan 2015 22:29:01 +0000 (23:29 +0100)
commit733d15ac7a23c80f2e447f6c2fca0406bc9960db
tree463c0cfe844b0c3e577ce5db8f7f82870f007e48
parent435fdcef52087b99a2bef745eb07a1228ed6d993
nspawn: pass the container's init PID out via sd_notify()

This is useful for nspawn managers that want to learn when nspawn is
finished with initialiuzation, as well what the PID of the init system
in the container is.
src/nspawn/nspawn.c