<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - OnStart, OnStop, OnReload, OnRestart, OnFail etc actions"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54659#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - OnStart, OnStop, OnReload, OnRestart, OnFail etc actions"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54659">bug 54659</a>
from <span class="vcard"><a class="email" href="mailto:public.avatar@gmail.com" title="Oleksii Shevchuk <public.avatar@gmail.com>"> <span class="fn">Oleksii Shevchuk</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=69493" name="attach_69493" title="Add OnStopRestoreConflicts">attachment 69493</a> <a href="attachment.cgi?id=69493&action=edit" title="Add OnStopRestoreConflicts">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=54659&attachment=69493'>[review]</a>
Add OnStopRestoreConflicts
Extends previous patch. Add optional support for restoring stopped by conflict
resolution deps, on successful stop conflicing unit. (Oh.)
i.e.
user > cat dep1.target
[Unit]
Description=dep1
OnStopRestoreConflicts=yes
user > cat dep2.target
[Unit]
Description=dep2
Conflicts=dep1.target
start dep2.target
// dep2 started
start dep1.target
// dep1 started
// dep2 stopped
// dep2 added to dep1 OnStopRestoreConflicts deps
stop dep1.target
// dep1 stopped
// dep2 started
// dep2 removed from dep1 OnStopRestoreConflicts deps</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>