summaryrefslogtreecommitdiffstats
path: root/contrib/Fedora/90-haveged.rules
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Fedora/90-haveged.rules')
-rw-r--r--contrib/Fedora/90-haveged.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/Fedora/90-haveged.rules b/contrib/Fedora/90-haveged.rules
new file mode 100644
index 0000000..6b1c5cf
--- /dev/null
+++ b/contrib/Fedora/90-haveged.rules
@@ -0,0 +1,5 @@
+# Start the haveged service as soon as the random device is available
+# to avoid starting other services while starved of entropy
+
+ACTION=="add", KERNEL=="random" , SUBSYSTEM=="mem", TAG+="systemd", ENV{SYSTEMD_WANTS}+="haveged.service"
+