Merge branch 'cassandra-3.0' into cassandra-3.11

This commit is contained in:
Michael Shuler 2017-01-04 10:00:15 -06:00
commit 26d467e800
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ case "$1" in
start)
# Cassandra startup
echo -n "Starting Cassandra: "
[ -d `dirname "$pid_file"` ] || \
install -m 755 -o $CASSANDRA_OWNR -g $CASSANDRA_OWNR -d `dirname $pid_file`
su $CASSANDRA_OWNR -c "$CASSANDRA_PROG -p $pid_file" > $log_file 2>&1
retval=$?
[ $retval -eq 0 ] && touch $lock_file