Re: Need system to run 24/7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2024-05-24 at 09:49 +1000, Michael D. Setzer II wrote:
> These are the changes that I made to keep machine from not sleeping by the default setting.
> # cat /etc/systemd/sleep.conf
> #  This file is part of systemd.
> #
> #  systemd is free software; you can redistribute it and/or modify it under the
> #  terms of the GNU Lesser General Public License as published by the Free
> #  Software Foundation; either version 2.1 of the License, or (at your option)
> #  any later version.
> #
> # Entries in this file show the compile time defaults. Local configuration
> # should be created by either modifying this file, or by creating "drop-ins" in
> # the sleep.conf.d/ subdirectory. The latter is generally recommended.
> # Defaults can be restored by simply deleting this file and all drop-ins.
> #
> # See systemd-sleep.conf(5) for details.
> [Sleep]
> AllowSuspend=no
> AllowHibernation=no
> AllowSuspendThenHibernate=no
> AllowHybridSleep=no
> #SuspendMode=
> #SuspendState=mem standby freeze
> #HibernateMode=platform shutdown
> #HibernateState=disk
> #HybridSleepMode=suspend platform shutdown
> #HybridSleepState=disk
> #HibernateDelaySec=
> #SuspendEstimationSec=60min

Is there a good write-up on this?

I'm thinking about options for user-initiated versus automatic idle
sleeping.  You may want to be able to manually do it, and not allow it
to go to sleep when it thinks it's idle.  Or may want to change the
patience it has so that it'll stay running for hours, but go to sleep
if you accidentally left it running for half a day, or controlled by a
battery charge-state monitor.

Looking into the file you mentioned, it seems only related to what to
do when sleep is initiated, rather than controlling if and when sleep
is initiated.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux