![](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#c4
--- Comment #4 from Franck Bui
Summarize of the development so far: * 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...
* X server could register itself as a transient unit requiring (or binding to, or wanting, ...) systemd-logind. I have working prototype of this, but now it seems that there is no way to configure systemd unit to stop if dependency stops, but do nothing if dependency restarts.
You meant that if A.service has "BindsTo=B.service", A is stopped if B is restarted ? -- You are receiving this mail because: You are on the CC list for the bug.