summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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
}