ports/databases/cassandra3/files/patch-bin_cassandra
Rene Ladan c96835b690 databases/cassandra3: update to 3.11.9
The port now uses Python 3 so unexpire it.

PR:		249595
Submitted by:	maintainer
Reported by:	swills (py27 overview)
2020-11-17 22:06:18 +00:00

20 lines
864 B
Text

--- bin/cassandra.orig 2020-07-14 21:00:51 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
@@ -128,7 +128,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.