summaryrefslogtreecommitdiff
path: root/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd')
-rw-r--r--app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd b/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd
new file mode 100644
index 000000000000..1a7fb84723bf
--- /dev/null
+++ b/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="jitterentropy daemon"
+command="/usr/sbin/jitterentropy-rngd"
+pidfile="/run/jitterentropy-rngd.pid"
+command_args="--pid ${pidfile}"
+
+depend() {
+ need localmount
+ before net
+ use logger
+
+ provide entropy
+}
+