summaryrefslogtreecommitdiff
path: root/man/systemd-user-sessions.service.xml
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2014-05-24 14:58:54 +0100
committerLennart Poettering <lennart@poettering.net>2014-05-25 11:23:30 +0800
commit113cea802db444beab4783538d39966f707be788 (patch)
treebe46c30a9d817aac435a173c7ba407fbdd79091a /man/systemd-user-sessions.service.xml
parent6b56a65123720325ad5084b3e888bf6bfe89c148 (diff)
nspawn: move container wait logic into wait_for_container()
Move the container wait logic into its own wait_for_container() function and add two status codes: CONTAINER_TERMINATED or CONTAINER_REBOOTED. The status will be stored in its argument, this way we handle: a) Return negative on failures. b) Return zero on success and set the status to either CONTAINER_REBOOTED or CONTAINER_TERMINATED. These status codes are used to terminate nspawn or loop again in case of CONTAINER_REBOOTED.
Diffstat (limited to 'man/systemd-user-sessions.service.xml')
0 files changed, 0 insertions, 0 deletions