From d25e127dbef924eb372a8372deeccc0a30aeca8a Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 3 Jan 2019 02:32:57 +0900 Subject: [PATCH] sleep: install default sleep.conf Closes #11310. --- meson.build | 3 +++ src/sleep/sleep.conf | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/sleep/sleep.conf diff --git a/meson.build b/meson.build index a72b00fdaf..a0b86af782 100644 --- a/meson.build +++ b/meson.build @@ -2396,6 +2396,9 @@ executable('systemd-sleep', install : true, install_dir : rootlibexecdir) +install_data('src/sleep/sleep.conf', + install_dir : pkgsysconfdir) + exe = executable('systemd-sysctl', 'src/sysctl/sysctl.c', include_directories : includes, diff --git a/src/sleep/sleep.conf b/src/sleep/sleep.conf new file mode 100644 index 0000000000..dc2ed37f70 --- /dev/null +++ b/src/sleep/sleep.conf @@ -0,0 +1,25 @@ +# 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. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. +# +# See systemd-sleep.conf(5) for details + +[Sleep] +#AllowSuspend=yes +#AllowHibernation=yes +#AllowSuspendThenHibernate=yes +#AllowHybridSleep=yes +#SuspendMode= +#SuspendState=mem standby freeze +#HibernateMode=platform shutdown +#HibernateState=disk +#HybridSleepMode=suspend platform shutdown +#HybridSleepState=disk +#HibernateDelaySec=180min