Updated Branches: refs/heads/trunk 39e0236db -> fcd1b48c2
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/fcd1b48c Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/fcd1b48c Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/fcd1b48c Branch: refs/heads/trunk Commit: fcd1b48c2be953ca2aa2edb286a7743d0d8cf4c0 Parents: 39e0236 Author: Eric Evans <eev...@apache.org> Authored: Mon Sep 30 11:07:45 2013 -0500 Committer: Eric Evans <eev...@apache.org> Committed: Mon Sep 30 11:10:46 2013 -0500 ---------------------------------------------------------------------- debian/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/fcd1b48c/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