source: gs3-installations/intermuse/trunk/sites/intermuse/collect/demo-localhost/BUILDCOL.sh@ 38281

Last change on this file since 38281 was 38281, checked in by davidb, 8 months ago

Changes after rebuild with streamlined fuseki3.war

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2
3source ../_local_collect_config.sh
4
5if [ "x$GSDL3SRCHOME" = "x" ] ; then
6 pushd ../../../../../ && . ./SETUP.bash && popd
7fi
8
9echo "***"
10echo "* Starting full buildcol"
11echo "***"
12
13echo
14echo "Start time: `date`"
15echo
16
17
18echo "Obtaining lock: gs3-building.flock"
19
20# This used to be done with "bash -c" but not sure why
21# Perhaps 'flock' doesn't work with combined with nohup directly?
22
23if [ $gs_server_username != $USER ] ; then
24 sudo -u $gs_server_username -- \
25 flock gs3-building.flock buildcol.pl -removeold -site $site $col $*
26else
27 flock gs3-building.flock buildcol.pl -removeold -site $site $col $*
28fi
29
30echo "Releasing lock: gs3-building.flock"
31/bin/rm gs3-building.flock
32
33
34echo "***"
35echo "* Finished full buildcol"
36echo "***"
37
38echo
39echo "End time: `date`"
40echo
41
42
43
44echo ""
45echo "****"
46echo "****"
47echo "Before running ./ACTIVATE.sh consider whether you want/need to ingest the"
48echo "OpenAnnotations into the Simple Annotation Server:"
49echo " ./SUBMIT-ALL-OPENANNOTATION-LISTS.sh"
50echo ""
51echo "And then index them for Mirador3 within document searching:"
52echo " ./INDEX-ALL-IIIF-MANIFESTS.sh"
53echo "****"
54echo "****"
55echo ""
56
Note: See TracBrowser for help on using the repository browser.