actually create PID directory

Patch by Anton Winter; reviewed by eevans for CASSANDRA-6101
This commit is contained in:
Eric Evans 2013-09-30 11:07:45 -05:00
parent 36ed511a68
commit eb2a813cdf
1 changed files with 1 additions and 1 deletions

2
debian/init vendored
View File

@ -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