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 <[email protected]> Authored: Mon Sep 30 11:07:45 2013 -0500 Committer: Eric Evans <[email protected]> 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
