/[gentoo-x86]/dev-db/couchdb/files/couchdb.init-4
Gentoo

Contents of /dev-db/couchdb/files/couchdb.init-4

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri May 3 11:25:55 2013 UTC (7 years, 3 months ago) by djc
Branch: MAIN
CVS Tags: HEAD
Version bump couchdb to 1.3.0.

(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 6B065BFB)

1 #!/sbin/runscript
2 # Copyright 1999-2013 Dirkjan Ochtman
3 # Distributed under the terms of the Apache License, Version 2.0
4
5 pidfile=${COUCHDB_PID_FILE}
6 command=${EXEC:-/usr/bin/couchdb}
7 command_args="-b -o ${COUCHDB_STDOUT_FILE} -e ${COUCHDB_STDERR_FILE} -p ${pidfile} ${COUCHDB_OPTIONS}"
8
9 start_stop_daemon_args="--user ${COUCHDB_USER}"
10
11 depend() {
12 need net
13 }
14
15 start_pre() {
16 checkpath -q -d -m 0755 -o ${COUCHDB_USER} /var/run/couchdb
17 }

  ViewVC Help
Powered by ViewVC 1.1.20