summaryrefslogtreecommitdiff
path: root/nonsystemd/haveged-openrc/haveged.initd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/haveged-openrc/haveged.initd')
-rw-r--r--nonsystemd/haveged-openrc/haveged.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/nonsystemd/haveged-openrc/haveged.initd b/nonsystemd/haveged-openrc/haveged.initd
new file mode 100644
index 000000000..ba20350ec
--- /dev/null
+++ b/nonsystemd/haveged-openrc/haveged.initd
@@ -0,0 +1,14 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile=/run/${SVCNAME}.pid
+
+supervisor=supervise-daemon
+command="/usr/bin/${SVCNAME}"
+command_args="-r 0 ${HAVEGED_OPTS} --Foreground"
+
+depend() {
+ need localmount
+ provide entropy
+}