summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-01-06 16:00:52 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-01-06 16:01:41 +0100
commit6336b6fd20b724363bc8e3cc9e7bcf4ad1d6b328 (patch)
treeb7045e9ad90846b1c15166eed282ae9eb49d0e54 /net-fs/docker-volume-netshare/files
parentapp-admin/lib_users: Mark ~ppc64 (bug #604504). (diff)
downloadgentoo-6336b6fd20b724363bc8e3cc9e7bcf4ad1d6b328.tar.gz
gentoo-6336b6fd20b724363bc8e3cc9e7bcf4ad1d6b328.tar.bz2
gentoo-6336b6fd20b724363bc8e3cc9e7bcf4ad1d6b328.zip
net-fs/docker-volume-netshare: Initial version
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-fs/docker-volume-netshare/files')
-rw-r--r--net-fs/docker-volume-netshare/files/docker-volume-netshare.confd2
-rw-r--r--net-fs/docker-volume-netshare/files/docker-volume-netshare.initd12
2 files changed, 14 insertions, 0 deletions
diff --git a/net-fs/docker-volume-netshare/files/docker-volume-netshare.confd b/net-fs/docker-volume-netshare/files/docker-volume-netshare.confd
new file mode 100644
index 00000000000..a8a88debb29
--- /dev/null
+++ b/net-fs/docker-volume-netshare/files/docker-volume-netshare.confd
@@ -0,0 +1,2 @@
+# arguments for docker-volume-netshare plugin
+command_args="nfs -o nolock"
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"