summaryrefslogtreecommitdiffstats
path: root/init.d/service.suse
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/service.suse')
-rw-r--r--init.d/service.suse19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.d/service.suse b/init.d/service.suse
new file mode 100644
index 0000000..34d387c
--- /dev/null
+++ b/init.d/service.suse
@@ -0,0 +1,19 @@
+[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
+Restart=always
+SuccessExitStatus=137 143
+
+[Install]
+WantedBy=sysinit.target