aboutsummaryrefslogtreecommitdiffstats
path: root/community/nbd/nbd-server.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2018-07-12 08:55:04 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2018-07-12 08:55:48 +0000
commit3b13b975fda4623df0ae57eaa2af53bfa1917c19 (patch)
treed862b2e000278eda9ef4b7577ef6ca528a497861 /community/nbd/nbd-server.initd
parent44bb18d7aca88befae84db47f656741af0fd5945 (diff)
downloadaports-3b13b975fda4623df0ae57eaa2af53bfa1917c19.tar.gz
aports-3b13b975fda4623df0ae57eaa2af53bfa1917c19.tar.bz2
aports-3b13b975fda4623df0ae57eaa2af53bfa1917c19.tar.xz
community/nbd: add initd netlink and tls support
Diffstat (limited to 'community/nbd/nbd-server.initd')
-rw-r--r--community/nbd/nbd-server.initd5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/nbd/nbd-server.initd b/community/nbd/nbd-server.initd
new file mode 100644
index 0000000000..b0cd32d4d1
--- /dev/null
+++ b/community/nbd/nbd-server.initd
@@ -0,0 +1,5 @@
+#!/sbin/openrc-run
+
+command=/usr/bin/nbd-server
+pidfile=/run/nbd-server.pid
+command_args="-p ${pidfile}"