Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5362D109E6 for ; Mon, 30 Sep 2013 16:11:40 +0000 (UTC) Received: (qmail 34863 invoked by uid 500); 30 Sep 2013 16:11:39 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 34767 invoked by uid 500); 30 Sep 2013 16:11:39 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 34753 invoked by uid 99); 30 Sep 2013 16:11:38 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Sep 2013 16:11:38 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4EBE290DFC8; Mon, 30 Sep 2013 16:11:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: eevans@apache.org To: commits@cassandra.apache.org Message-Id: <211056d983894fab9cae038940cb954f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: actually create PID directory Date: Mon, 30 Sep 2013 16:11:38 +0000 (UTC) Updated Branches: refs/heads/cassandra-2.0 36ed511a6 -> eb2a813cd actually create PID directory Patch by Anton Winter; reviewed by eevans for CASSANDRA-6101 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/eb2a813c Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/eb2a813c Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/eb2a813c Branch: refs/heads/cassandra-2.0 Commit: eb2a813cdfee7bdfbefade9efa0f6f743f4bb995 Parents: 36ed511 Author: Eric Evans Authored: Mon Sep 30 11:07:45 2013 -0500 Committer: Eric Evans Committed: Mon Sep 30 11:07:45 2013 -0500 ---------------------------------------------------------------------- debian/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/eb2a813c/debian/init ---------------------------------------------------------------------- diff --git a/debian/init b/debian/init index 66dd321..a9496ef 100644 --- a/debian/init +++ b/debian/init @@ -133,7 +133,7 @@ do_start() heap_dump_f="$cassandra_home/java_`date +%s`.hprof" error_log_f="$cassandra_home/hs_err_`date +%s`.log" - [ -e `dirname "PIDFILE"` ] || \ + [ -e `dirname "$PIDFILE"` ] || \ install -d -ocassandra -gcassandra -m750 `dirname $PIDFILE` start-stop-daemon -S -c cassandra -a /usr/sbin/cassandra -q -p "$PIDFILE" -t >/dev/null || return 1