aboutsummaryrefslogtreecommitdiffstats
path: root/community/nbd/nbd-server.initd
diff options
context:
space:
mode:
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}"