ports/databases/cassandra4/files/patch-bin_cassandra
Kurt Jaeger a7404fb865 New port: databases/cassandra4: Highly scalable distributed database
Apache Cassandra is a free and open-source distributed database.
It is a Java-based, highly scalable, eventually consistent, wide
column store. Cassandra database clusters are masterless with no
single point of failure. Replication can be configured across
multiple data centers.

Originally influenced by Dynamo and BigTable, Cassandra was initially
developed at and open sourced by Facebook before becoming a top-level
Apache project.

The CQL query language offers SQL-like data access and management.
Drivers are available for a number of languages.

This is an ALPHA version! It is not intended for production use.

WWW: https://cassandra.apache.org/

PR:		246081
Submitted by:	Angelo Polo <language.devel@gmail.com>
Reviewed by:	yuri
2020-05-02 19:48:32 +00:00

20 lines
864 B
Text

--- bin/cassandra.orig 2020-04-10 22:29:25 UTC
+++ bin/cassandra
@@ -31,7 +31,7 @@
# JVM_OPTS -- Additional arguments to the JVM for heap size, etc
# JVM_ON_OUT_OF_MEMORY_ERROR_OPT -- The OnOutOfMemoryError JVM option if specified
# CASSANDRA_CONF -- Directory containing Cassandra configuration files.
-# CASSANDRA_LOG_DIR -- Directory containing logs(default: $CASSANDRA_HOME/logs).
+# CASSANDRA_LOG_DIR -- Directory containing logs(default: /var/log/cassandra).
#
# As a convenience, a fragment of shell is sourced in order to set one or
# more of these variables. This so-called `include' can be placed in a
@@ -116,7 +116,7 @@ if [ -f "$CASSANDRA_CONF/cassandra-env.sh" ]; then
fi
if [ -z "$CASSANDRA_LOG_DIR" ]; then
- CASSANDRA_LOG_DIR=$CASSANDRA_HOME/logs
+ CASSANDRA_LOG_DIR=/var/log/cassandra
fi
# Special-case path variables.