diff options
-rw-r--r-- | Makefile.am | 11 | ||||
-rw-r--r-- | man/systemd-random-seed-load.service.xml | 80 | ||||
-rw-r--r-- | units/systemd-random-seed-load.service.in | 1 | ||||
-rw-r--r-- | units/systemd-random-seed-save.service.in | 1 |
4 files changed, 93 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index b7fb370c0e..ca676e588e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2484,6 +2484,17 @@ randomseed-install-data-hook: INSTALL_DATA_HOOKS += \ randomseed-install-data-hook + +MANPAGES += \ + man/systemd-random-seed-load.service.8 + +MANPAGES_ALIAS += \ + man/systemd-random-seed-save.service.8 \ + man/systemd-random-seed.8 + +man/systemd-random-seed-save.service.8: man/systemd-random-seed-load.service.8 +man/systemd-random-seed.8: man/systemd-random-seed-load.service.8 + endif # ------------------------------------------------------------------------------ diff --git a/man/systemd-random-seed-load.service.xml b/man/systemd-random-seed-load.service.xml new file mode 100644 index 0000000000..87f563e293 --- /dev/null +++ b/man/systemd-random-seed-load.service.xml @@ -0,0 +1,80 @@ +<?xml version="1.0"?> +<!--*-nxml-*--> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> +<!-- + This file is part of systemd. + + Copyright 2012 Lennart Poettering + + 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. + + systemd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with systemd; If not, see <http://www.gnu.org/licenses/>. +--> +<refentry id="systemd-random-seed-load.service"> + + <refentryinfo> + <title>systemd-random-seed-load.service</title> + <productname>systemd</productname> + + <authorgroup> + <author> + <contrib>Developer</contrib> + <firstname>Lennart</firstname> + <surname>Poettering</surname> + <email>lennart@poettering.net</email> + </author> + </authorgroup> + </refentryinfo> + + <refmeta> + <refentrytitle>systemd-random-seed-load.service</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <refnamediv> + <refname>systemd-random-seed-load.service</refname> + <refname>systemd-random-seed-save.service</refname> + <refname>systemd-random-seed</refname> + <refpurpose>Load and save the system random seed at boot and shutdown</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <para><filename>systemd-random-seed-load.service</filename></para> + <para><filename>systemd-random-seed-save.service</filename></para> + <para><filename>/usr/lib/systemd/systemd-random-seed</filename></para> + </refsynopsisdiv> + + <refsect1> + <title>Description</title> + + <para><filename>systemd-random-seed-load.service</filename> + is an early-boot service that restores the random seed + of the + system. <filename>systemd-random-seed-save.service</filename> + is a late-shutdown service that saves the random seed + of the system. See + <citerefentry><refentrytitle>random</refentrytitle><manvolnum>4</manvolnum></citerefentry> + for details. Saving/restoring the random seed across + boots increases the amount of available entropy early + at boot. On disk the random seed is stored in + <filename>/var/lib/random-seed</filename>.</para> + </refsect1> + + <refsect1> + <title>See Also</title> + <para> + <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, + <citerefentry><refentrytitle>random</refentrytitle><manvolnum>4</manvolnum></citerefentry> + </para> + </refsect1> + +</refentry> diff --git a/units/systemd-random-seed-load.service.in b/units/systemd-random-seed-load.service.in index a5e2bbb7fe..8ea575035e 100644 --- a/units/systemd-random-seed-load.service.in +++ b/units/systemd-random-seed-load.service.in @@ -7,6 +7,7 @@ [Unit] Description=Load Random Seed +Documentation=man:systemd-random-seed-load.service(8) man:random(4) DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service diff --git a/units/systemd-random-seed-save.service.in b/units/systemd-random-seed-save.service.in index 0ebd07d868..05b3c61471 100644 --- a/units/systemd-random-seed-save.service.in +++ b/units/systemd-random-seed-save.service.in @@ -7,6 +7,7 @@ [Unit] Description=Save Random Seed +Documentation=man:systemd-random-seed-load.service(8) man:random(4) DefaultDependencies=no After=systemd-random-seed-load.service Before=shutdown.target |