[systemd-bugs] [Bug 80082] Suspend/Hibernate should have StopWhenUnneeded=yes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 20 04:58:51 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80082

Lennart Poettering <lennart at poettering.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140620/eddf0911/attachment.html>


More information about the systemd-bugs mailing list