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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jun 8 13:00:42 2014 UTC (6 years, 2 months ago) by djc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old, vulnerable versions (bug 506354)

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 30380381)

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 user=${COUCHDB_USER}
10 group=${COUCHDB_GROUP}
11
12 depend() {
13 need net
14 }
15
16 start_pre() {
17 checkpath -q -d -m 0755 -o couchdb:couchdb /var/run/couchdb
18 }

  ViewVC Help
Powered by ViewVC 1.1.20