![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1062068
http://bugzilla.suse.com/show_bug.cgi?id=1062068#c5
--- Comment #5 from Michal Srb
* It is not possible to recognize stop from restart just by listening on dbus. It was rather ugly way to detect it anyway.
I'm wondering if this couldn't be implemented though...
I guess it could be. If systemd-logind would send some signal saying "Hey I am going away and not coming back any time soon.", we could listen for that. It does not solve the case when systemd-logind crashes, but in my opinion we shouldn't try too hard in that case. If such important component crashes, I would expect anything can happen, so why should X server have some special safety against it.
You meant that if A.service has "BindsTo=B.service", A is stopped if B is restarted ?
With BindsTo I am observing this: * If B is stopped, then A is stopped. Good, we want that. * If B is restarted, then A is restarted. Bad, we don't want that. -- You are receiving this mail because: You are on the CC list for the bug.