summaryrefslogtreecommitdiff
path: root/user/haveged/haveged.initd
diff options
context:
space:
mode:
Diffstat (limited to 'user/haveged/haveged.initd')
-rw-r--r--user/haveged/haveged.initd11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/haveged/haveged.initd b/user/haveged/haveged.initd
new file mode 100644
index 000000000..86660e9c3
--- /dev/null
+++ b/user/haveged/haveged.initd
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+
+command="/usr/sbin/haveged"
+command_args="$HAVEGED_OPTS"
+command_background="yes"
+
+pidfile="/run/$RC_SVCNAME.pid"
+
+depend() {
+ need net
+}