diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-07-10 23:39:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-10 23:41:04 +0200 |
commit | 7fb3ee51c1b37738fd0ea2c81dfd6c336144698a (patch) | |
tree | 1a0def1b9d80726c7c12d2154446b48cb25c3fca /src/login/logind.h | |
parent | f2d4f98d5873e0649b79b04b967fc9625ab3a350 (diff) |
user-sessions: rely on PID 1 to kill sessions
As we want to centralized cgroup access we should stop killing the user
sessions directly from the systemd-user-sessions service. Instead, rely
on PID 1 doing this by adding the right ordering dependencies to the
session scope units.
Diffstat (limited to 'src/login/logind.h')
-rw-r--r-- | src/login/logind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind.h b/src/login/logind.h index f7457c0537..9c41cdf70c 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -178,7 +178,7 @@ int manager_send_changed(Manager *manager, const char *properties); int manager_dispatch_delayed(Manager *manager); -int manager_start_scope(Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, DBusError *error, char **job); +int manager_start_scope(Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, const char *after, DBusError *error, char **job); int manager_start_unit(Manager *manager, const char *unit, DBusError *error, char **job); int manager_stop_unit(Manager *manager, const char *unit, DBusError *error, char **job); int manager_kill_unit(Manager *manager, const char *unit, KillWho who, int signo, DBusError *error); |