summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorAndreas Pretzsch <apr@cn-eng.de>2020-01-20 23:57:03 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-01-25 00:56:11 +0100
commit12ec684e088e9f5be4f8046aecf8d6c64ce449ec (patch)
tree32a953d20568aeba7c09ca418c2ef47bd3f8cd50 /projectroot
parent102d10209c27cefc80d9972aa4ca6de57f0ee953 (diff)
downloadptxdist-12ec684e088e9f5be4f8046aecf8d6c64ce449ec.tar.gz
ptxdist-12ec684e088e9f5be4f8046aecf8d6c64ce449ec.tar.xz
haveged: systemd service: import haveged.service from haveged 1.9.2 source
Signed-off-by: Andreas Pretzsch <apr@cn-eng.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/usr/lib/systemd/system/haveged.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/system/haveged.service b/projectroot/usr/lib/systemd/system/haveged.service
new file mode 100644
index 000000000..81070ca8b
--- /dev/null
+++ b/projectroot/usr/lib/systemd/system/haveged.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Entropy Daemon based on the HAVEGE algorithm
+Documentation=man:haveged(8) http://www.issihosts.com/haveged/
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/haveged -w 1024 -v 1 --Foreground
+SuccessExitStatus=143
+
+[Install]
+WantedBy=multi-user.target