systemd/man
Zbigniew Jędrzejewski-Szmek 19adb8a320 systemd-sleep: add support for freeze and standby
A new config file /etc/systemd/sleep.conf is added.
It is parsed by systemd-sleep and logind. The strings written
to /sys/power/disk and /sys/power/state can be configured.
This allows people to use different modes of suspend on
systems with broken or special hardware.

Configuration is shared between systemd-sleep and logind
to enable logind to answer the question "can the system be
put to sleep" as correctly as possible without actually
invoking the action. If the user configured systemd-sleep
to only use 'freeze', but current kernel does not support it,
logind will properly report that the system cannot be put
to sleep.

https://bugs.freedesktop.org/show_bug.cgi?id=57793
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7e73c5ae6e7991a6c01f6d096ff8afaef4458c36
http://lists.freedesktop.org/archives/systemd-devel/2013-February/009238.html

SYSTEM_CONFIG_FILE and USER_CONFIG_FILE defines were removed
since they were used in only a few places and with the
addition of /etc/systemd/sleep.conf it becomes easier to just
append the name of each file to the dir name.
2013-05-06 22:51:57 +02:00
..
.gitignore build-sys,man: use XML entities to substite strings 2013-03-29 20:30:21 -04:00
binfmt.d.xml man: use <replaceable> in various places 2013-02-13 23:09:00 -05:00
bootchart.conf.xml man: Update bootchart.conf(5) 2013-02-14 16:18:46 -08:00
bootup.xml units: introduce new timers.target and paths.target to hook timer/path units into for boot 2013-03-25 21:28:30 +01:00
crypttab.xml man: document that timeout=0 is the default for entries in crypttab 2013-04-18 02:21:01 +02:00
custom-html.xsl man: provide "permalinks" to sections and terms 2013-05-03 20:25:57 -04:00
custom-man.xsl man,html: say 'systemd 198' in the header 2013-03-12 23:57:46 -04:00
daemon.xml man: fix some spelling mistakes 2012-11-30 14:02:03 +01:00
halt.xml man: fix typos in halt.xml and journalctl.xml 2012-09-13 19:35:18 +02:00
hostname.xml man: Unify title for configuration files 2013-03-07 16:06:29 +01:00
hostnamectl.xml man: Make options consistent 2013-02-13 08:57:20 -05:00
journalctl.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
journald.conf.xml journal: Set the default keep free value to 15% (up from 5%) 2013-05-03 17:46:44 +02:00
kernel-command-line.xml cryptsetup-generator: add support for rd.luks.key= 2013-04-18 02:45:01 +02:00
kernel-install.xml kernel-install: add default install scripts 2013-05-06 16:19:02 +02:00
locale.conf.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
localectl.xml localectl: add support for listing X11 keymap information 2013-04-05 00:23:23 +02:00
localtime.xml man: Unify title for configuration files 2013-03-07 16:06:29 +01:00
loginctl.xml man: Make options consistent 2013-02-13 08:57:20 -05:00
logind.conf.xml man: fix some typos 2013-03-13 23:09:49 +01:00
machine-id.xml man: fix some typos 2013-03-13 23:09:49 +01:00
machine-info.xml hostnamed: make chassis type configurable via /etc/machine-info 2012-12-24 19:03:59 +01:00
Makefile build-sys: add small redirecting Makefiles to simplify compilation from within emacs 2010-05-17 01:44:03 +02:00
modules-load.d.xml man: use <replaceable> in various places 2013-02-13 23:09:00 -05:00
nss-myhostname.xml man: fix some typos 2013-03-13 23:09:49 +01:00
os-release.xml man/os-release: Add BUILD_ID field 2013-03-27 11:15:07 -07:00
pam_systemd.xml build-sys: do not install pam_systemd(8) without PAM 2013-03-04 13:16:38 -05:00
runlevel.xml man: extend systemd.directives(7) to all manual pages 2013-01-26 11:36:53 -05:00
sd_booted.xml sd-booted: update sd_booted() check a bit 2013-03-15 16:49:08 +01:00
sd_get_seats.xml login: add new call sd_get_machine_names() to get a list of current virtual machines and containers 2013-04-24 19:02:13 -03:00
sd_id128_get_machine.xml man: Split sd_randomize(3) from sd_id128_get_{machine,boot}(3) 2012-07-13 22:55:52 +02:00
sd_id128_randomize.xml man: Split sd_randomize(3) from sd_id128_get_{machine,boot}(3) 2012-07-13 22:55:52 +02:00
sd_id128_to_string.xml id128: when taking user input for a 128bit ID, validate syntax 2013-04-30 08:36:01 -03:00
sd_is_fifo.xml man: typo fixes 2012-10-26 00:16:47 +02:00
sd_journal_add_match.xml man: document the new sd_journal_add_conjunction() call 2013-04-18 03:11:44 +02:00
sd_journal_get_catalog.xml man/catalog: fix synopsis and remind to free 2013-03-19 21:50:42 -04:00
sd_journal_get_cursor.xml Fix spelling errors using 'codespell' tool 2013-04-15 08:40:05 -04:00
sd_journal_get_cutoff_realtime_usec.xml man: document sd_journal_get_cursor() 2012-07-13 20:39:05 +02:00
sd_journal_get_data.xml journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +01:00
sd_journal_get_fd.xml journal: add sd_journal_get_timeout() call to public API 2013-04-04 20:07:48 +02:00
sd_journal_get_realtime_usec.xml man: document sd_journal_get_cursor() 2012-07-13 20:39:05 +02:00
sd_journal_get_usage.xml systemd-python: export sd_journal_get_usage 2013-03-21 22:39:24 -04:00
sd_journal_next.xml man: typo fixes 2012-10-26 00:16:47 +02:00
sd_journal_open.xml man: correct documented return type for sd_journal_close 2012-12-04 14:03:41 +01:00
sd_journal_print.xml man: typo fixes 2012-10-26 00:16:47 +02:00
sd_journal_query_unique.xml journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +01:00
sd_journal_seek_head.xml man: typo fix 2013-02-13 04:57:36 +01:00
sd_journal_stream_fd.xml man: typo fixes 2012-10-26 00:16:47 +02:00
sd_listen_fds.xml man: extend systemd.directives(7) to all manual pages 2013-01-26 11:36:53 -05:00
sd_login_monitor_new.xml login: allow watching virtual machines with sd_get_machine_names() 2013-04-24 19:02:13 -03:00
sd_notify.xml man: extend systemd.directives(7) to all manual pages 2013-01-26 11:36:53 -05:00
sd_pid_get_session.xml nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there 2013-04-16 04:41:21 +02:00
sd_readahead.xml man: Fix id attributes 2013-03-07 16:05:47 +01:00
sd_seat_get_active.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
sd_session_is_active.xml man: document the new login class 'background' 2013-04-18 22:20:56 +02:00
sd_uid_get_state.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
sd-daemon.xml Reword sentences that contain psuedo-English "resp." 2012-10-16 01:03:01 +02:00
sd-id128.xml man/sd-id128.xml: typo fix 2012-11-11 21:36:21 +01:00
sd-journal.xml journal: document new catalog APIs 2012-11-20 22:09:09 +01:00
sd-login.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
sd-readahead.xml man: Fix id attributes 2013-03-07 16:05:47 +01:00
shutdown.xml man/shutdown: /etc/nologin is called /run/nologin now 2013-03-21 23:05:09 -04:00
sysctl.d.xml man: use <replaceable> in various places 2013-02-13 23:09:00 -05:00
systemctl.xml Spelling fixes 2013-05-03 22:45:09 -04:00
systemd-activate.xml systemd-activate: pass environment variables through 2013-03-15 22:55:24 -04:00
systemd-analyze.xml systemd-analyse: add "critical-chain" command 2013-04-26 13:34:22 +02:00
systemd-ask-password-console.service.xml Reword sentences that contain psuedo-English "resp." 2012-10-16 01:03:01 +02:00
systemd-ask-password.xml man: clearify the meaning of timeout=0 for password agents 2013-01-23 01:08:48 +01:00
systemd-binfmt.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-bootchart.xml Add help option to bootchart man page 2013-05-02 09:21:23 -07:00
systemd-cat.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
systemd-cgls.xml cgls: add --machine/-M 2013-05-01 10:15:25 -04:00
systemd-cgtop.xml cgtop: add % as key to toggle time/percentage 2013-04-02 15:01:44 -04:00
systemd-coredumpctl.xml build-sys: build and install systemd-coredumpctl conditionally 2013-03-04 23:23:06 +01:00
systemd-cryptsetup-generator.xml cryptsetup-generator: add support for rd.luks.key= 2013-04-18 02:45:01 +02:00
systemd-cryptsetup@.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-delta.xml man: Make options consistent 2013-02-13 08:57:20 -05:00
systemd-detect-virt.xml man: typo fixes 2012-10-26 00:16:47 +02:00
systemd-fsck@.service.xml man: extend systemd.directives(7) to all manual pages 2013-01-26 11:36:53 -05:00
systemd-fstab-generator.xml man: extend systemd.directives(7) to all manual pages 2013-01-26 11:36:53 -05:00
systemd-getty-generator.xml unit: link up getty configuration from man page and unit files 2012-11-20 20:10:30 +01:00
systemd-halt.service.xml man: typo fixes 2012-10-26 00:16:47 +02:00
systemd-hostnamed.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-inhibit.xml man: typo fixes 2012-10-26 00:16:47 +02:00
systemd-initctl.service.xml man: reword man page titles 2012-07-16 18:08:25 +02:00
systemd-journal-gatewayd.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-journald.service.xml man: correct SIGUSR1 semantics for journald 2013-05-06 22:39:17 +02:00
systemd-localed.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-logind.service.xml build-sys: do not install logind manpages when disabled 2013-03-04 13:06:43 -05:00
systemd-machine-id-setup.xml man: reword man page titles 2012-07-16 18:08:25 +02:00
systemd-modules-load.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-notify.xml man: reword man page titles 2012-07-16 18:08:25 +02:00
systemd-nspawn.xml nspawn: explain that we look for /etc/os-release in the container directory 2013-05-06 21:06:18 +02:00
systemd-quotacheck.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-random-seed-load.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-readahead-replay.service.xml readahead: document options and commands. 2013-04-14 12:54:54 -07:00
systemd-remount-fs.service.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
systemd-shutdownd.service.xml man: reword man page titles 2012-07-16 18:08:25 +02:00
systemd-sleep.conf.xml systemd-sleep: add support for freeze and standby 2013-05-06 22:51:57 +02:00
systemd-suspend.service.xml systemd-sleep: add support for freeze and standby 2013-05-06 22:51:57 +02:00
systemd-sysctl.service.xml man: fix 'sysytemd' typos 2012-06-13 00:09:25 +02:00
systemd-system-update-generator.xml man: fix invalid links to generator wiki pages 2012-10-02 11:52:29 -04:00
systemd-system.conf.xml Fix spelling errors using 'codespell' tool 2013-04-15 08:40:05 -04:00
systemd-timedated.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-tmpfiles.xml man: link systemd-tmpfiles-setup-dev.service 2013-04-23 12:55:44 +02:00
systemd-tty-ask-password-agent.xml man: fix --h vs. -h typos 2012-06-27 10:48:13 +02:00
systemd-udevd.service.xml udev: rename kernel command line option to net.ifnames= 2013-03-18 19:31:34 +01:00
systemd-update-utmp-runlevel.service.xml man: Fix id attributes 2013-03-07 16:05:47 +01:00
systemd-user-sessions.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-vconsole-setup.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd.automount.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
systemd.device.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
systemd.exec.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
systemd.journal-fields.xml man: document COREDUMP_UNIT and COREDUMP_USER_UNIT 2013-02-07 01:02:34 -05:00
systemd.kill.xml man: use <replaceable> in various places 2013-02-13 23:09:00 -05:00
systemd.mount.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
systemd.path.xml core/path: catch errors when adding watches 2013-03-03 08:55:53 -05:00
systemd.preset.xml man: add various links from man pages to appropriate wiki pages 2012-06-28 18:58:56 +02:00
systemd.service.xml Spelling fixes 2013-05-03 22:45:09 -04:00
systemd.snapshot.xml man: use <replaceable> in various places 2013-02-13 23:09:00 -05:00
systemd.socket.xml man: link to socket activation blog entries 2013-05-02 23:35:45 -04:00
systemd.special.xml man: fix typos in systemd.special 2013-05-06 22:47:48 +02:00
systemd.swap.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
systemd.target.xml man: use <replaceable> in various places 2013-02-13 23:09:00 -05:00
systemd.time.xml man: time - exchange some 'colons' with 'commas' 2013-01-30 16:34:32 +01:00
systemd.timer.xml man: use <replaceable> in various places 2013-02-13 23:09:00 -05:00
systemd.unit.xml man: clarify behaviour of Also= in unit files 2013-05-06 22:47:41 +02:00
systemd.xml systemd-sleep: add support for freeze and standby 2013-05-06 22:51:57 +02:00
telinit.xml relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
timedatectl.xml man: Make options consistent 2013-02-13 08:57:20 -05:00
tmpfiles.d.xml tmpfiles: introduce type X 2013-01-25 10:38:46 -05:00
udev.xml man: udev - clarify when RUN is executed 2013-03-18 18:28:59 +01:00
udevadm.xml udev: udevadm hwdb - add --root= 2013-02-08 12:00:05 +01:00
vconsole.conf.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00