> Not sure I follow: why do this indirectly by killing nspawn? > Why not send this to the container init directly? > > Note that if you know the nspawn PID, you can derive the external PID > of the init process easily by reading > /proc/$PID/task/$PID/children. It will only container one PID, and > that's init.
That's an easy one. I didn't know how to get that pid. Thanks a lot _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel