summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJirka Hladky <jhladky@redhat.com>2019-08-26 10:36:32 +0200
committerJirka Hladky <jhladky@redhat.com>2019-08-26 10:36:32 +0200
commit9596c5354a03837bea637500380f6b558305935e (patch)
tree3a2cbdb1752dc947d471c0d8f2c54427d3c6d6c9
parentNew version 1.9.5 (diff)
downloadhaveged-9596c5354a03837bea637500380f6b558305935e.tar.xz
haveged-9596c5354a03837bea637500380f6b558305935e.zip
Updated service.fedorav1.9.5
-rw-r--r--init.d/service.fedora24
1 files changed, 13 insertions, 11 deletions
diff --git a/init.d/service.fedora b/init.d/service.fedora
index 60ea1a7..25be37b 100644
--- a/init.d/service.fedora
+++ b/init.d/service.fedora
@@ -1,11 +1,13 @@
-[Unit]
-Description=Entropy Daemon based on the HAVEGE algorithm
-Documentation=man:haveged(8) http://www.issihosts.com/haveged/
-
-[Service]
-Type=simple
-ExecStart=@SBIN_DIR@/haveged -w 1024 -v 1 --Foreground
-SuccessExitStatus=143
-
-[Install]
-WantedBy=multi-user.target
+[Unit]
+Description=Entropy Daemon based on the HAVEGE algorithm
+Documentation=man:haveged(8) http://www.issihosts.com/haveged/
+DefaultDependencies=no
+Before=sysinit.target shutdown.target systemd-journald.service
+
+[Service]
+ExecStart=@SBIN_DIR@/haveged -w 1024 -v 1 --Foreground
+Restart=always
+SuccessExitStatus=137 143
+
+[Install]
+WantedBy=sysinit.target