couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r746771 - /couchdb/trunk/etc/init/couchdb.tpl.in
Date Sun, 22 Feb 2009 17:06:14 GMT
Author: jan
Date: Sun Feb 22 17:06:14 2009
New Revision: 746771

URL: http://svn.apache.org/viewvc?rev=746771&view=rev
Log:
Add pidfile to init script. Patch by Joshua Bronson. Thanks.

Modified:
    couchdb/trunk/etc/init/couchdb.tpl.in

Modified: couchdb/trunk/etc/init/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/couchdb/trunk/etc/init/couchdb.tpl.in?rev=746771&r1=746770&r2=746771&view=diff
==============================================================================
--- couchdb/trunk/etc/init/couchdb.tpl.in (original)
+++ couchdb/trunk/etc/init/couchdb.tpl.in Sun Feb 22 17:06:14 2009
@@ -63,6 +63,9 @@
     # Start Apache CouchDB as a background process.
 
     command="$COUCHDB -b"
+    if test -n "$COUCHDB_PID_FILE"; then 
+        command="$command -p $COUCHDB_PID_FILE" 
+    fi 
     if test -n "$COUCHDB_STDOUT_FILE"; then
         command="$command -o $COUCHDB_STDOUT_FILE"
     fi



Mime
View raw message