Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Caleb Tennis (caleb)" <caleb@g.o>
Subject: gentoo-x86 commit in dev-db/couchdb/files: couchdb.init-0.8.1 couchdb.conf-0.8.1
Date: Sun, 22 Mar 2009 21:27:44 +0000
caleb       09/03/22 21:27:44

  Added:                couchdb.init-0.8.1 couchdb.conf-0.8.1
  Log:
  Initial import of couchdb, from 197176
  (Portage version: 2.1.6.7/cvs/Linux i686)

Revision  Changes    Path
1.1                  dev-db/couchdb/files/couchdb.init-0.8.1

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/couchdb/files/couchdb.init-0.8.1?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/couchdb/files/couchdb.init-0.8.1?rev=1.1&content-type=text/plain

Index: couchdb.init-0.8.1
===================================================================
#!/sbin/runscript
# Copyright 2008 Dirkjan Ochtman
# Distributed under the terms of the GNU General Public License v2

depend() {
	need net
}

start() {
	ebegin "Starting ${SVCNAME}"

	args="-b"
	if test -n "$COUCHDB_STDOUT_FILE"; then
		args="$args -o $COUCHDB_STDOUT_FILE"
	fi
	if test -n "$COUCHDB_STDERR_FILE"; then
		args="$args -e $COUCHDB_STDERR_FILE"
	fi
	if test -n "$COUCHDB_RESPAWN_TIMEOUT"; then
		args="$args -r $COUCHDB_RESPAWN_TIMEOUT"
	fi
	if test -n "$COUCHDB_OPTIONS"; then
		args="$args $COUCHDB_OPTIONS"
	fi
	if test -n "$COUCHDB_PID_FILE"; then
	    args="$args -p $COUCHDB_PID_FILE"
    else
        echo "* ERROR: COUCHDB_PID_FILE must be set"
        return -1
    fi
	if test -z "$COUCHDB_USER"; then
        echo "* ERROR: COUCHDB_USER must be set"
        return -1
	fi

	start-stop-daemon --start --exec ${EXEC} --name beam \
		--user ${COUCHDB_USER} --chuid ${COUCHDB_USER} --pidfile ${COUCHDB_PID_FILE} -- $args

	eend $? "Failed to start ${SVCNAME}"
}

stop() {
	ebegin "Stopping ${SVCNAME}"
	start-stop-daemon --stop --exec ${EXEC} --name beam \
		--pidfile ${COUCHDB_PID_FILE}
	eend $? "Failed to stop ${SVCNAME}"
}



1.1                  dev-db/couchdb/files/couchdb.conf-0.8.1

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/couchdb/files/couchdb.conf-0.8.1?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/couchdb/files/couchdb.conf-0.8.1?rev=1.1&content-type=text/plain

Index: couchdb.conf-0.8.1
===================================================================
# Options for CouchDB

EXEC="/usr/bin/couchdb"
COUCHDB_USER="couchdb"
COUCHDB_PID_FILE="/var/run/couchdb/couchdb.pid"
COUCHDB_STDOUT_FILE="/dev/null"
COUCHDB_STDERR_FILE="/dev/null"
#COUCHDB_RESPAWN_TIMEOUT=
#COUCHDB_OPTIONS=





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-db/couchdb/files: - New directory
Next by thread:
gentoo-x86 commit in dev-db/couchdb/files: couchdb.init-0.8.1 couchdb.conf-0.8.1
Previous by date:
gentoo-x86 commit in dev-db/couchdb/files: - New directory
Next by date:
gentoo-x86 commit in dev-db/couchdb: couchdb-0.8.1.ebuild metadata.xml ChangeLog


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.