Debian Codegraph @

contrib/Fedora/haveged.service

raw
1 [Unit]
2 Description=Entropy Daemon based on the HAVEGE algorithm
3 Documentation=man:haveged(8) http://www.issihosts.com/haveged/
4 DefaultDependencies=no
5 ConditionKernelVersion=<5.6
6 After=systemd-tmpfiles-setup-dev.service
7 Before=sysinit.target shutdown.target systemd-journald.service
8
9 [Service]
10 ExecStart=@SBIN_DIR@/haveged -w 1024 -v 1 --Foreground -v 64 --no-command
11 Restart=always
12 SuccessExitStatus=137 143
13
14 SecureBits=noroot-locked
15 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_CHROOT
16 # We can *not* set PrivateTmp=true as it can cause an ordering cycle.
17 PrivateTmp=false
18 PrivateDevices=true
19 PrivateNetwork=true
20 ProtectSystem=full
21 ProtectHome=true
22 ProtectHostname=true
23 ProtectKernelLogs=true
24 ProtectKernelModules=true
25 RestrictNamespaces=true
26 RestrictRealtime=true
27
28 LockPersonality=true
29 MemoryDenyWriteExecute=true
30 SystemCallArchitectures=native
31 SystemCallFilter=@system-service
32 SystemCallFilter=~@mount
33 SystemCallErrorNumber=EPERM
34
35 [Install]
36 WantedBy=sysinit.target