]> git.pld-linux.org Git - packages/cassandra-bin.git/blob - cassandra.in.sh
- up to 4.1.3
[packages/cassandra-bin.git] / cassandra.in.sh
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
23 if [ "x$CASSANDRA_HOME" = "x" ]; then
24     CASSANDRA_HOME=/var/lib/cassandra
25 fi
26
27 # The directory where Cassandra's configs live (required)
28 if [ "x$CASSANDRA_CONF" = "x" ]; then
29     CASSANDRA_CONF=$CASSANDRA_HOME/conf
30 fi
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)
42 CLASSPATH=$CASSANDRA_CONF # :$cassandra_bin
43
44 # for jar in $CASSANDRA_HOME/lib/*.jar; do
45 #    CLASSPATH=$CLASSPATH:$jar
46 # done
47
48 # for jar in /usr/share/cassandra/*.jar; do
49 #     CLASSPATH=$CLASSPATH:$jar
50 # done
51 CLASSPATH=$CLASSPATH:/usr/share/cassandra/*:/usr/share/java/*
52
This page took 0.063942 seconds and 3 git commands to generate.