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

Lennart Poettering lennart at poettering.net
Tue Nov 20 10:17:30 PST 2012


On Sat, 03.11.12 21:52, Oleksii Shevchuk (alxchk at gmail.com) wrote:

> If checked, the unit with this rule should start all
> conflicted units, that were successfuly stopped on starting

What precisely is the usecase for this one?

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?

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

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list