summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-06-16 08:39:15 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-06-16 08:39:15 +0000
commitb87dab9f1baa7022cfbb792df285554c1d8eb30f (patch)
tree3d99e4856cce909d3c90fdfabc13529f2b79592c /dev-perl/mogilefs-server/files
parentVersion bump. (diff)
downloadgentoo-2-b87dab9f1baa7022cfbb792df285554c1d8eb30f.tar.gz
gentoo-2-b87dab9f1baa7022cfbb792df285554c1d8eb30f.tar.bz2
gentoo-2-b87dab9f1baa7022cfbb792df285554c1d8eb30f.zip
Version bump.
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/mogilefs-server/files')
-rw-r--r--dev-perl/mogilefs-server/files/mogautomount-init.d-2.5022
-rw-r--r--dev-perl/mogilefs-server/files/mogstored-init.d-2.5027
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-perl/mogilefs-server/files/mogautomount-init.d-2.50 b/dev-perl/mogilefs-server/files/mogautomount-init.d-2.50
new file mode 100644
index 000000000000..dabf123c12c3
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogautomount-init.d-2.50
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogautomount-init.d-2.50,v 1.1 2011/06/16 08:39:15 robbat2 Exp $
+
+NAME="mogautomount"
+BINARY="/usr/bin/mogautomount"
+
+depend() {
+ use net
+ before mogstored
+}
+
+start() {
+ ebegin "Mounting MogileFS disks"
+ ${BINARY} --chmod-mountpoints
+ eend $?
+}
+
+stop() {
+ :
+}
+
+# vim: ft=gentoo-init-d:
diff --git a/dev-perl/mogilefs-server/files/mogstored-init.d-2.50 b/dev-perl/mogilefs-server/files/mogstored-init.d-2.50
new file mode 100644
index 000000000000..b43022a1b1d6
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogstored-init.d-2.50
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored-init.d-2.50,v 1.1 2011/06/16 08:39:15 robbat2 Exp $
+
+NAME="mogstored"
+BINARY="/usr/bin/mogstored"
+
+depend() {
+ use net
+ before mogilefsd
+ need mogautomount
+}
+
+start() {
+ ebegin "Starting $NAME"
+ start-stop-daemon --start --quiet \
+ --pidfile ${PIDFILE} \
+ --exec ${BINARY} -- ${MOGSTORED_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping $NAME"
+ start-stop-daemon --stop --quiet --pidfile="${PIDFILE}"
+ eend $?
+}
+
+# vim: ft=gentoo-init-d: