From 37ce1071ab836a2ee0d2a58aa4b8ba3b8e1be40a Mon Sep 17 00:00:00 2001 From: Noah Slater Date: Fri, 23 May 2008 22:06:36 +0000 Subject: do not guess the process ID, allow multiple database instances to run simultaneously git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659685 13f79535-47bb-0310-9956-ffa450edef68 --- bin/couchdb.tpl.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in index 0a7da952..b28cd00e 100644 --- a/bin/couchdb.tpl.in +++ b/bin/couchdb.tpl.in @@ -117,11 +117,6 @@ _get_pid () { 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 } -- cgit v1.2.3