Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 38 lines (31 sloc) 0.977 kb
fbd0f95 @jkreps Initial import
jkreps authored
1 #!/bin/bash
2
3f78a7e @jkreps Add license to scripts.
jkreps authored
3 #
4 # Copyright 2008-2009 LinkedIn, Inc
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18
fbd0f95 @jkreps Initial import
jkreps authored
19 if [ $# -gt 1 ];
20 then
21 echo 'USAGE: bin/voldemort-server.sh [voldemort_home]'
22 exit 1
23 fi
24
25 base_dir=$(dirname $0)/..
26
27 for file in $base_dir/dist/*.jar;
28 do
29 CLASSPATH=$CLASSPATH:$file
30 done
31
32 for file in $base_dir/lib/*.jar;
33 do
34 CLASSPATH=$CLASSPATH:$file
35 done
36
7d77574 @bbansal read_only store modified.
bbansal authored
37 java -Xmx2G -server -cp $CLASSPATH -Dcom.sun.management.jmxremote voldemort.server.VoldemortServer ${1}
Something went wrong with that request. Please try again.