Blob Blame History Raw
From 5aab65c4a4dc10f8ac0d5caa26576c43ea54bef7 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Mon, 7 Jun 2010 15:08:42 +0400
Subject: [PATCH 7/9] Remove pid-file after stop

---
 bin/couchdb.tpl.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index 31bc7d9..54c42cb 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -267,6 +267,7 @@ EOF
 
 stop_couchdb () {
     PID=`_get_pid`
+    rm -f $PID_FILE
     STOP_TIMEOUT=60
     if test -n "$PID"; then
         if kill -0 $PID 2> /dev/null; then
-- 
1.8.2