Comment # 4 on bug 1062068 from
(In reply to Michal Srb from comment #3)
> 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: