diff options
Diffstat (limited to 'core/modules/haveged/data/etc/systemd/system/haveged.service')
-rw-r--r-- | core/modules/haveged/data/etc/systemd/system/haveged.service | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/modules/haveged/data/etc/systemd/system/haveged.service b/core/modules/haveged/data/etc/systemd/system/haveged.service new file mode 100644 index 00000000..53cf36b8 --- /dev/null +++ b/core/modules/haveged/data/etc/systemd/system/haveged.service @@ -0,0 +1,24 @@ +[Unit] +Description=Entropy daemon using the HAVEGE algorithm +Documentation=man:haveged(8) http://www.issihosts.com/haveged/ +DefaultDependencies=no +ConditionVirtualization=!container +After=apparmor.service systemd-random-seed.service systemd-tmpfiles-setup.service +Before=sysinit.target shutdown.target + +[Service] +EnvironmentFile=-/etc/default/haveged +ExecStart=/usr/sbin/haveged --Foreground --verbose=1 $DAEMON_ARGS +SuccessExitStatus=143 +SecureBits=noroot-locked +NoNewPrivileges=yes +CapabilityBoundingSet=CAP_SYS_ADMIN +PrivateTmp=yes +PrivateDevices=yes +PrivateNetwork=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=default.target + |