summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2008-05-23 22:06:36 +0000
committerNoah Slater <nslater@apache.org>2008-05-23 22:06:36 +0000
commit37ce1071ab836a2ee0d2a58aa4b8ba3b8e1be40a (patch)
tree8cdf6c7f16e34ddb11b321d8a68c88cef5e20733 /bin
parente30a423519214cd899782fdbbeb92a7f45bd3d75 (diff)
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
Diffstat (limited to 'bin')
-rw-r--r--bin/couchdb.tpl.in5
1 files changed, 0 insertions, 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
}