all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to suspend guix system?
@ 2020-03-14 14:32 Adam Kandur via
  2020-03-14 15:07 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Kandur via @ 2020-03-14 14:32 UTC (permalink / raw)
  To: Help Guix

Hi everyone, what is an alternative to "systemctl suspend" in guix?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to suspend guix system?
  2020-03-14 14:32 how to suspend guix system? Adam Kandur via
@ 2020-03-14 15:07 ` Tobias Geerinckx-Rice
       [not found]   ` <M2OsEQd--7-2@tuta.io>
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-03-14 15:07 UTC (permalink / raw)
  To: Adam Kandur; +Cc: Help Guix

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]

Hi Adam,

Adam Kandur via 写道:
> an alternative to "systemctl suspend" in guix?

The standard way to suspend on Linux is

  # echo mem > /sys/power/state

If you prefer something more complex: I just ran

  $ loginctl suspend

and it worked.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to suspend guix system?
       [not found]   ` <M2OsEQd--7-2@tuta.io>
@ 2020-03-14 16:41     ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-03-14 16:41 UTC (permalink / raw)
  To: Adam Kandur; +Cc: help-guix mailing list

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

Adam Kandur 写道:
> Thank you for the answer. loginctl works fine

Great!

> but there is no /etc/power on my system.

Unless you made this same typo on the command line, that's 
impossible.  logind is just a complex front-end to echo ‘mem’ into 
this very file.  There's no difference.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-14 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-14 14:32 how to suspend guix system? Adam Kandur via
2020-03-14 15:07 ` Tobias Geerinckx-Rice
     [not found]   ` <M2OsEQd--7-2@tuta.io>
2020-03-14 16:41     ` Tobias Geerinckx-Rice

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.