couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r659685 - /incubator/couchdb/trunk/bin/couchdb.tpl.in
Date Fri, 23 May 2008 22:06:36 GMT
Author: nslater
Date: Fri May 23 15:06:36 2008
New Revision: 659685

URL: http://svn.apache.org/viewvc?rev=659685&view=rev
Log:
do not guess the process ID, allow multiple database instances to run simultaneously

Modified:
    incubator/couchdb/trunk/bin/couchdb.tpl.in

Modified: incubator/couchdb/trunk/bin/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bin/couchdb.tpl.in?rev=659685&r1=659684&r2=659685&view=diff
==============================================================================
--- incubator/couchdb/trunk/bin/couchdb.tpl.in (original)
+++ incubator/couchdb/trunk/bin/couchdb.tpl.in Fri May 23 15:06:36 2008
@@ -117,11 +117,6 @@
     if test -f $PID_FILE; then
         PID=$(cat $PID_FILE)
     fi
-    if test -z "$PID"; then
-        # Resort to searching for the running process manually.
-        PID=$(ps auxww | grep erlang | grep -- "couch_server:start()" | \
-            grep -v grep | awk "{print \$2}")
-    fi
     echo $PID
 }
 



Mime
View raw message