<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Please add the ability to go into standby mode to systemd-sleep."
href="https://bugs.freedesktop.org/show_bug.cgi?id=57793#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Please add the ability to go into standby mode to systemd-sleep."
href="https://bugs.freedesktop.org/show_bug.cgi?id=57793">bug 57793</a>
from <span class="vcard"><a class="email" href="mailto:zbyszek@in.waw.pl" title="Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>"> <span class="fn">Zbigniew Jedrzejewski-Szmek</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=76668" name="attach_76668" title="add --action=freeze,standby,etc to systemd-sleep">attachment 76668</a> <a href="attachment.cgi?id=76668&action=edit" title="add --action=freeze,standby,etc to systemd-sleep">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=57793&attachment=76668'>[review]</a>
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.</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>