2021-11-02 09:17:58 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Entropy Daemon based on the HAVEGE algorithm
|
|
|
|
Documentation=man:haveged(8) http://www.issihosts.com/haveged/
|
|
|
|
DefaultDependencies=no
|
|
|
|
ConditionVirtualization=!container
|
|
|
|
#Conflicts=shutdown.target
|
|
|
|
# Don't wait for systemd-random-seed.service, leads to deadlock with fips=1
|
|
|
|
#After=systemd-random-seed.service
|
|
|
|
Before=sysinit.target shutdown.target systemd-journald.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F
|
|
|
|
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_CHROOT
|
|
|
|
PrivateNetwork=yes
|
2021-11-10 21:37:20 +01:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2021-11-02 09:17:58 +01:00
|
|
|
Restart=always
|
|
|
|
SuccessExitStatus=137 143
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=sysinit.target
|