summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/docker-volume-netshare/files/docker-volume-netshare.initd')
-rw-r--r--net-fs/docker-volume-netshare/files/docker-volume-netshare.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-fs/docker-volume-netshare/files/docker-volume-netshare.initd b/net-fs/docker-volume-netshare/files/docker-volume-netshare.initd
new file mode 100644
index 00000000000..eba0e49a50a
--- /dev/null
+++ b/net-fs/docker-volume-netshare/files/docker-volume-netshare.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 2016-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="Docker Volume Netshare plugin"
+pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
+command="/usr/bin/docker-volume-netshare"
+command_args="${command_args:nfs}"
+command_background="true"
+start_stop_daemon_args="--stdout /var/log/${SVCNAME}.log \
+ --stderr /var/log/${SVCNAME}.log"