[systemd-devel] [PATCH 6/6] Add OnStopRestoreConflicts rule.

AvataR public.avatar at gmail.com
Tue Nov 20 11:36:17 PST 2012


> What precisely is the usecase for this one?
http://lists.freedesktop.org/archives/systemd-devel/2012-November/007479.html

I use it to restore previous state after going to alternate state, like
powersaving.

> Doesn't this patch do more than you suggest it would do? What i mean: if
> A and B conflict, and neither is running, and you then start B and stop
> it again with this new option set, wouldnt that start A even if it
> wasn't running before? Is that desirable?

It wouldn't start A in that case. Separate list in current unit fills
with marked as Conflicted ones only when other Conflicted ones actually
stopped (%

> I really wonder if we can find a nicer way to solve this.
I hope

// Wbr, Alex


More information about the systemd-devel mailing list