From 9f4092e2703e5efc6e62ba3e7b0d56e86aa1e953 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Wed, 30 Sep 2015 11:14:32 -0400 Subject: man: update description of exit.target exit.target is now used for both system and user sessions, so remove "on user service manager exit". Also reword that paragraph: services will be killed before the manager exits, even if they do not conflict with shutdown target, but we recommend that they conflict with shutdown target so that systemd schedules them to be stopped immediately when starting to exit. In the first paragraph, containers should be mentioned last, and the more general systems first. --- man/systemd.special.xml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/man/systemd.special.xml b/man/systemd.special.xml index 6e0dff9b47..78bad4d814 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -215,20 +215,19 @@ exit.target A special service unit for shutting down the system or - user service manager. It also works in containers and is - equivalent to poweroff.target on - non-container systems. + user service manager. It is equivalent to + poweroff.target on non-container + systems, and also works in containers. - Applications wanting to terminate the user service - manager should start this unit. If systemd receives + systemd will start this unit when it receives a + request to shut down over D-Bus or a SIGTERM or SIGINT - when running as user service daemon, it will start this - unit. + signal when running as user service daemon. - Normally, this pulls in + Normally, this (indirectly) pulls in shutdown.target which in turn should be - conflicted by all units that want to be shut down on user - service manager exit. + conflicted by all units that want to be scheduled for + shutdown when the service manager starts to exit. -- cgit v1.2.3-54-g00ecf