summaryrefslogtreecommitdiffstats
path: root/src/main/distrib/linux/reindex-tickets.sh
blob: 6985d6064f4a242e1179054c2b9aa4892ceee443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# --------------------------------------------------------------------------
# This is for reindexing Tickets with Lucene.
#
# Since the Tickets feature is undergoing massive churn it may be necessary 
# to reindex tickets due to model or index changes.
#
# usage:
#
#     reindex-tickets.sh <baseFolder>
#
# --------------------------------------------------------------------------

if [ -z $1 ] ; then
    echo "Please specify your baseFolder!";
    echo "";
    echo "usage:";
    echo "    reindex-tickets <baseFolder>";
    echo "";
    exit 1;
fi

java -cp gitblit.jar:./ext/* com.gitblit.ReindexTickets --baseFolder $1