systemd-random-seed.service 717 B

12345678910111213141516171819202122
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. [Unit]
  8. Description=Load/Save Random Seed
  9. Documentation=man:systemd-random-seed.service(8) man:random(4)
  10. DefaultDependencies=no
  11. RequiresMountsFor=/var/lib/systemd/random-seed
  12. Conflicts=shutdown.target
  13. After=systemd-remount-fs.service
  14. Before=sysinit.target shutdown.target
  15. [Service]
  16. Type=oneshot
  17. RemainAfterExit=yes
  18. ExecStart=/lib/systemd/systemd-random-seed load
  19. ExecStop=/lib/systemd/systemd-random-seed save
  20. TimeoutSec=30s