[systemd-bugs] [Bug 57793] Please add the ability to go into standby mode to systemd-sleep.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 17 17:00:07 PDT 2013


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

--- Comment #14 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
Created attachment 76668
  --> https://bugs.freedesktop.org/attachment.cgi?id=76668&action=edit
add --action=freeze,standby,etc to systemd-sleep

Here's a patch (two actually, the first one is prep), which allows freeze and
standby to be used. I'm not terribly happy with the way it works because
modyfing a unit file is a relatively complex thing for the administrator, and
thus making the change requires 3 lines of code:
# /etc/systemd/system/systemd-suspend.service.d/suspend.conf
[Service]
ExecStart=
ExecStart=/usr/lib/systemd/systemd-sleep --action=freeze suspend

But OTOH, changing the suspend mode is a relatively uncommon request, so maybe
it's OK.

-- 
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/20130318/d00c4d6f/attachment.html>


More information about the systemd-bugs mailing list