summaryrefslogtreecommitdiff
path: root/src/logind-user.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-21 20:43:34 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-21 20:43:34 +0200
commitda11939561b1e6eeb1131b68dbf43042fd633a05 (patch)
tree56b654d78e646a0de6a0db4656da9b758e49258c /src/logind-user.c
parente1c9c2d53606f987110b4215cf08c236af637ff1 (diff)
logind: send dbus signals when sessions/users/seats come and go
Diffstat (limited to 'src/logind-user.c')
-rw-r--r--src/logind-user.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logind-user.c b/src/logind-user.c
index 206064f103..70d6a9a524 100644
--- a/src/logind-user.c
+++ b/src/logind-user.c
@@ -280,6 +280,8 @@ int user_start(User *u) {
dual_timestamp_get(&u->timestamp);
+ user_send_signal(u, true);
+
return 0;
}
@@ -365,6 +367,8 @@ int user_stop(User *u) {
r = k;
}
+ user_send_signal(u, false);
+
/* Kill systemd */
k = user_stop_service(u);
if (k < 0)