From 953420e7a35c79f6b9ab0b1ec1766347895dd4cc Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 27 Jul 2022 14:47:48 -0400 Subject: [PATCH] disable systemd sleep support --- systemd/sleep.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 systemd/sleep.conf diff --git a/systemd/sleep.conf b/systemd/sleep.conf new file mode 100644 index 0000000..f215524 --- /dev/null +++ b/systemd/sleep.conf @@ -0,0 +1,26 @@ +# 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=yes +#AllowHybridSleep=yes +#SuspendMode= +#SuspendState=mem standby freeze +#HibernateMode=platform shutdown +#HibernateState=disk +#HybridSleepMode=suspend platform shutdown +#HybridSleepState=disk +#HibernateDelaySec=180min