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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 16 00:43:44 PDT 2014


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

          Priority: medium
            Bug ID: 80082
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Suspend/Hibernate should have StopWhenUnneeded=yes
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: m8r-0s9a4g at monumentmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

I want to have a unit that starts/stops on suspend (but not hibernate).

Using WantedBy=sleep.target works for suspend or hibernate, but
WantedBy=suspend.target will not work because systemd-suspend.service doesn't
have StopWhenUnneeded=yes.

Is there any downside to add StopWhenUnneeded to suspend? Is there any other
way to have a service stop/stop based on suspend that I'm missing?

-- 
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/20140616/9cc81d04/attachment.html>


More information about the systemd-bugs mailing list