summaryrefslogtreecommitdiff
path: root/user/haveged/haveged.initd
diff options
context:
space:
mode:
authormultiplexd <multi@in-addr.xyz>2019-01-21 21:29:31 +0000
committermultiplexd <multi@in-addr.xyz>2019-01-26 12:40:27 +0000
commit4b8e76cc12e2b73ff9ad920f7f4eb370f0ca3b33 (patch)
tree476d8cb2fe5be45e33f53390d2b0b6a72714ae4c /user/haveged/haveged.initd
parenta78b2f2c6a1712a9a6b3a41cf42ba8203d6182d3 (diff)
downloadpackages-4b8e76cc12e2b73ff9ad920f7f4eb370f0ca3b33.tar.gz
packages-4b8e76cc12e2b73ff9ad920f7f4eb370f0ca3b33.tar.bz2
packages-4b8e76cc12e2b73ff9ad920f7f4eb370f0ca3b33.tar.xz
packages-4b8e76cc12e2b73ff9ad920f7f4eb370f0ca3b33.zip
user/haveged: new package
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
+}