]> git.pld-linux.org Git - packages/cassandra-bin.git/blame - cassandra.in.sh
- up to 4.1.3
[packages/cassandra-bin.git] / cassandra.in.sh
CommitLineData
3f05bde6
MK
1# Licensed to the Apache Software Foundation (ASF) under one
2# or more contributor license agreements. See the NOTICE file
3# distributed with this work for additional information
4# regarding copyright ownership. The ASF licenses this file
5# to you under the Apache License, Version 2.0 (the
6# "License"); you may not use this file except in compliance
7# with the License. You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# File modified for PLD Linux.
18# Sets minimal configs necessary to run cassandra and cassandra CLI from
19# /usr/share/cassandra/*.jar
20# Should easily allow to run multibple cassandra instaces by only providing
21# $CASSANDRA_HOME
22
23if [ "x$CASSANDRA_HOME" = "x" ]; then
24 CASSANDRA_HOME=/var/lib/cassandra
25fi
26
27# The directory where Cassandra's configs live (required)
28if [ "x$CASSANDRA_CONF" = "x" ]; then
29 CASSANDRA_CONF=$CASSANDRA_HOME/conf
30fi
31
32# This can be the path to a jar file, or a directory containing the
33# compiled classes. NOTE: This isn't needed by the startup script,
34# it's just used here in constructing the classpath.
35# cassandra_bin=$CASSANDRA_HOME/build/classes
36# cassandra_bin=/usr/share/cassandra
37
38# JAVA_HOME can optionally be set here
39#JAVA_HOME=/usr/local/jdk6
40
41# The java classpath (required)
42CLASSPATH=$CASSANDRA_CONF # :$cassandra_bin
43
44# for jar in $CASSANDRA_HOME/lib/*.jar; do
45# CLASSPATH=$CLASSPATH:$jar
46# done
47
3f05bde6
MK
48# for jar in /usr/share/cassandra/*.jar; do
49# CLASSPATH=$CLASSPATH:$jar
50# done
16c24e02 51CLASSPATH=$CLASSPATH:/usr/share/cassandra/*:/usr/share/java/*
3f05bde6 52
This page took 0.032546 seconds and 4 git commands to generate.