From a672ebc7eef77ae793073139aaf6450e54e2ae6e Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Sun, 8 Mar 2020 18:37:28 +0000 Subject: databases/cassandra3: Update to 3.11.6 PR: 244501 Submitted by: Angelo Polo (maintainer) --- databases/cassandra3/files/patch-conf_cassandra-env.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'databases/cassandra3/files/patch-conf_cassandra-env.sh') diff --git a/databases/cassandra3/files/patch-conf_cassandra-env.sh b/databases/cassandra3/files/patch-conf_cassandra-env.sh index ebf54baebaa8..a9d76e6bae50 100644 --- a/databases/cassandra3/files/patch-conf_cassandra-env.sh +++ b/databases/cassandra3/files/patch-conf_cassandra-env.sh @@ -1,11 +1,11 @@ ---- conf/cassandra-env.sh.orig 2018-09-07 21:30:15 UTC +--- conf/cassandra-env.sh.orig 2020-02-10 22:55:14 UTC +++ conf/cassandra-env.sh -@@ -122,7 +122,7 @@ case "$jvm" in - esac +@@ -123,7 +123,7 @@ esac - #GC log path has to be defined here because it needs to access CASSANDRA_HOME --JVM_OPTS="$JVM_OPTS -Xloggc:${CASSANDRA_HOME}/logs/gc.log" -+JVM_OPTS="$JVM_OPTS -Xloggc:/var/log/cassandra/gc.log" + # Sets the path where logback and GC logs are written. + if [ "x$CASSANDRA_LOG_DIR" = "x" ] ; then +- CASSANDRA_LOG_DIR="$CASSANDRA_HOME/logs" ++ CASSANDRA_LOG_DIR="/var/log/cassandra" + fi - # Here we create the arguments that will get passed to the jvm when - # starting cassandra. + #GC log path has to be defined here because it needs to access CASSANDRA_HOME -- cgit v1.2.3