From: Elan Ruusamäe Date: Sun, 26 Feb 2012 11:53:27 +0000 (+0000) Subject: - remove pid on stop X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcouchdb.git;a=commitdiff_plain;h=18384d739f0581ef9e3a213880b7ffd4fd3fa762 - remove pid on stop Changed files: couchdb.init -> 1.6 --- diff --git a/couchdb.init b/couchdb.init index 10d6a46..0ecafdf 100644 --- a/couchdb.init +++ b/couchdb.init @@ -63,6 +63,7 @@ stop() { # Stop daemons. msg_stopping "CouchDB" killproc --pidfile $COUCHDB_PID couchdb -TERM + rm -f $COUCHDB_PID rm -f /var/lock/subsys/couchdb }