summaryrefslogtreecommitdiffstats
path: root/man/systemd-random-seed.service.xml
blob: ebec200a1d0773ea1bbf08c9684d39b931f405e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?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">
<!-- SPDX-License-Identifier: LGPL-2.1+ -->
<refentry id="systemd-random-seed.service" conditional='ENABLE_RANDOMSEED'>

  <refentryinfo>
    <title>systemd-random-seed.service</title>
    <productname>systemd</productname>
  </refentryinfo>

  <refmeta>
    <refentrytitle>systemd-random-seed.service</refentrytitle>
    <manvolnum>8</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>systemd-random-seed.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.service</filename></para>
    <para><filename>/usr/lib/systemd/random-seed</filename></para>
  </refsynopsisdiv>

  <refsect1>
    <title>Description</title>

    <para><filename>systemd-random-seed.service</filename> is a
    service that restores the random seed of the system at early boot
    and saves it at shutdown. 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/systemd/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>