summaryrefslogtreecommitdiff
path: root/src/login/logind-session.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-07 16:42:03 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-07 17:49:16 +0100
commitba4c5d93b73ef7bba0ae0c6bf2b36a42360f7a34 (patch)
treebabd4d0ff8b8bef6c892dc2ec9d5f6004d4673e9 /src/login/logind-session.c
parent1a436809498faf6486815baa0338fb6b8e5def07 (diff)
logind: order all scopes after both systemd-logind.service and
systemd-user-sessions.service This way at shutdown we can be sure that the sessions go away before the network.
Diffstat (limited to 'src/login/logind-session.c')
-rw-r--r--src/login/logind-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index 95105e5325..f661cc8b8d 100644
--- a/src/login/logind-session.c
+++ b/src/login/logind-session.c
@@ -490,7 +490,7 @@ static int session_start_scope(Session *s) {
if (!scope)
return log_oom();
- r = manager_start_scope(s->manager, scope, s->leader, s->user->slice, description, "systemd-logind.service", &error, &job);
+ r = manager_start_scope(s->manager, scope, s->leader, s->user->slice, description, "systemd-logind.service", "systemd-user-session.service", &error, &job);
if (r < 0) {
log_error("Failed to start session scope %s: %s %s",
scope, bus_error_message(&error, r), error.name);