summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/mogilefs-server/files')
-rw-r--r--dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.164
-rw-r--r--dev-perl/mogilefs-server/files/mogilefsd-init.d-2.1628
-rw-r--r--dev-perl/mogilefs-server/files/mogilefsd.conf-2.1635
-rw-r--r--dev-perl/mogilefs-server/files/mogstored-conf.d-2.165
-rw-r--r--dev-perl/mogilefs-server/files/mogstored-init.d-2.1626
-rw-r--r--dev-perl/mogilefs-server/files/mogstored.conf-2.1623
6 files changed, 121 insertions, 0 deletions
diff --git a/dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.16 b/dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.16
new file mode 100644
index 0000000..871c430
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.16
@@ -0,0 +1,4 @@
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $
+PIDFILE="/var/run/mogile/mogilefsd.pid"
+MOGILEFSD_OPTS="--daemonize --pidfile=${PIDFILE}"
+# vim: ft=gentoo-conf-d:
diff --git a/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16 b/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16
new file mode 100644
index 0000000..6a36e7d
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $
+
+NAME="mogilefsd"
+BINARY="/usr/bin/mogilefsd"
+MOGILE_UID="mogile"
+MOGILE_GID="mogile"
+
+depend() {
+ use net
+ after mysql
+}
+
+start() {
+ ebegin "Starting $NAME"
+ start-stop-daemon --chuid ${MOGILE_UID}:${MOGILE_GID} --start \
+ --pidfile ${PIDFILE} --exec ${BINARY} \
+ -- ${MOGILEFSD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping $NAME"
+ start-stop-daemon --stop --quiet --pidfile="${PIDFILE}"
+ eend $?
+}
+
+# vim: ft=gentoo-init-d:
diff --git a/dev-perl/mogilefs-server/files/mogilefsd.conf-2.16 b/dev-perl/mogilefs-server/files/mogilefsd.conf-2.16
new file mode 100644
index 0000000..3c79f0e
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogilefsd.conf-2.16
@@ -0,0 +1,35 @@
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogilefsd.conf-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $
+
+# System user
+user = mogile
+# These are set inside the Gentoo conf.d/mogilefsd
+#pidfile = /var/run/mogile/mogilefsd.pid
+#daemonize = 1
+
+# Database settings
+db_dsn = DBI:mysql:mogilefs
+db_user = mogile
+# You must insert your password here!
+db_pass = __PASSWORD__
+
+# Network settings
+#conf_port = 7001
+#listen = 10.0.0.1:7001,
+
+# Storage
+#mog_root = /mnt/mogilefs
+
+# Plugins
+#plugins = ...
+
+# Tuning knobs
+#query_jobs = 20
+#delete_jobs = 1
+#replicate_jobs = 1
+#monitor_jobs = 1
+#reaper_jobs = 1
+#min_free_space = 100
+#max_disk_age = 5
+#node_timeout = 2
+#old_repl_compat = 1
+#default_mindevcount = 2
diff --git a/dev-perl/mogilefs-server/files/mogstored-conf.d-2.16 b/dev-perl/mogilefs-server/files/mogstored-conf.d-2.16
new file mode 100644
index 0000000..965a962
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogstored-conf.d-2.16
@@ -0,0 +1,5 @@
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored-conf.d-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $
+#Pidfile not yet supported by upstream
+#PIDFILE="/var/run/mogile/mogstored.pid"
+MOGSTORED_OPTS="--daemonize"
+# vim: ft=gentoo-conf-d:
diff --git a/dev-perl/mogilefs-server/files/mogstored-init.d-2.16 b/dev-perl/mogilefs-server/files/mogstored-init.d-2.16
new file mode 100644
index 0000000..878cb6d
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogstored-init.d-2.16
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored-init.d-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $
+
+NAME="mogstored"
+BINARY="/usr/bin/mogstored"
+
+depend() {
+ use net
+ after mysql mogilefsd
+}
+
+start() {
+ ebegin "Starting $NAME"
+ start-stop-daemon --start --quiet \
+ --exec ${BINARY} -- ${MOGSTORED_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping $NAME"
+ start-stop-daemon --stop --quiet \
+ --exec ${BINARY}
+ eend $?
+}
+
+# vim: ft=gentoo-init-d:
diff --git a/dev-perl/mogilefs-server/files/mogstored.conf-2.16 b/dev-perl/mogilefs-server/files/mogstored.conf-2.16
new file mode 100644
index 0000000..834391d
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogstored.conf-2.16
@@ -0,0 +1,23 @@
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored.conf-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $
+
+# These are set inside the Gentoo conf.d/mogilefsd
+#pidfile = /var/run/mogile/mogstored.pid
+#daemonize = 1
+
+# Network settings
+#httplisten = 0.0.0.0:7500
+#mgmtlisten = 0.0.0.0:7501
+
+# Storage
+#docroot = /var/mogdata
+
+# Server type
+# Perlbal is the default
+#server = perlbal
+# But lighttpd is supported too
+#server = lighttpd
+#serverbin = /usr/sbin/lighttpd
+
+# Tuning knobs
+#max_conns = 10000
+#opt_iostat 1