<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Suspend/Hibernate should have StopWhenUnneeded=yes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80082">bug 80082</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Suspend/Hibernate should have StopWhenUnneeded=yes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80082#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Suspend/Hibernate should have StopWhenUnneeded=yes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80082">bug 80082</a>
from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre>Not following here. systemd-suspend.service terminates as soon as the suspend
is complete, on its own, because it does exit(0), there's no point of adding
StopWhenUnneeded=yes to it. Don't grok the problem.
Your service should be able to do BindTo=systemd-suspend.service and
Before=systemd-suspend.service. That way, its ExecStart= should be invoked
before, and its ExecStop= after the suspend.
Also note the hook directory in /usr/lib/systemd/system-sleep/. See
systemd-sleep(8) for details.</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>