Changeset 33680

Show
Ignore:
Timestamp:
15.11.2019 18:43:42 (3 weeks ago)
Author:
davidb
Message:

Greenstone3 is fixed, so don't need to print out message about runing FIX-UP script; also added in flock technique to avoid multiple people running the same script

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/ACTIVATE.sh

    r33245 r33680  
    44col=${cwd##*/} 
    55 
    6 activate.pl -site heritage-nz -library_url http://localhost:8383/greenstone3/hnz-library $* "$col" 
     6echo "Obtaining lock: gs3-building.flock" 
     7flock gs3-building.flock activate.pl -site heritage-nz -library_url http://localhost:8383/greenstone3/library $* "$col" 
     8echo "Releasing lock: gs3-building.flock" 
    79 
    810 
    9 echo "***" 
    10 echo "* If operating on a networked drive, and error resulted from active, run:" 
    11 echo "*  ./FIX-UP-INDEX.sh" 
    12 echo "*" 
    13 echo "* Then restart the Greenstone3 server, as a user with sudo access:" 
    14 echo "*   sudo systemctl restart greenstone3" 
    15 echo "***"