]> granicus.if.org Git - haveged/commitdiff
Updated service.fedora v1.9.5
authorJirka Hladky <jhladky@redhat.com>
Mon, 26 Aug 2019 08:36:32 +0000 (10:36 +0200)
committerJirka Hladky <jhladky@redhat.com>
Mon, 26 Aug 2019 08:36:32 +0000 (10:36 +0200)
init.d/service.fedora

index 60ea1a7dfcf84fe44c5152a98dac34eea75e4433..25be37b81d0ba4e975b0fbf9d8fdd856483bca3b 100644 (file)
@@ -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]\r
+Description=Entropy Daemon based on the HAVEGE algorithm\r
+Documentation=man:haveged(8) http://www.issihosts.com/haveged/\r
+DefaultDependencies=no\r
+Before=sysinit.target shutdown.target systemd-journald.service\r
+\r
+[Service]\r
+ExecStart=@SBIN_DIR@/haveged -w 1024 -v 1 --Foreground\r
+Restart=always\r
+SuccessExitStatus=137 143\r
+\r
+[Install]\r
+WantedBy=sysinit.target\r