Changeset 34445

Show
Ignore:
Timestamp:
13.10.2020 13:47:05 (12 days ago)
Author:
davidb
Message:

Change to work with www-data user running the server

Location:
main/trunk/model-sites-dev/atea/collect/digital-nz
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/atea/collect/digital-nz/ACTIVATE.sh

    r33166 r34445  
    11#!/bin/bash 
    22 
    3 activate.pl -site atea -library_url http://localhost:8383/greenstone3/atea-library digital-nz 
     3#activate.pl -site atea -library_url http://localhost:8383/greenstone3/atea-library digital-nz 
    44 
     5# activate.pl -site atea -library_url http://localhost:8383/greenstone3/library digital-nz 
     6 
     7sudo -u www-data -- \ 
     8     bash -c 'pushd ../../../../../ && . gs3-setup.sh && popd && activate.pl -site atea -library_url http://localhost:8383/greenstone3/library digital-nz' 
     9 
     10 
  • main/trunk/model-sites-dev/atea/collect/digital-nz/BUILDCOL.sh

    r33166 r34445  
    11#!/bin/bash 
    22 
    3 buildcol.pl -removeold -site atea digital-nz 
     3# buildcol.pl -removeold -site atea digital-nz 
    44 
     5 
     6sudo -u www-data -- \ 
     7     bash -c 'pushd ../../../../../ && . gs3-setup.sh && popd && buildcol.pl -removeold -site atea digital-nz' 
  • main/trunk/model-sites-dev/atea/collect/digital-nz/IMPORT.sh

    r33166 r34445  
    11#!/bin/bash 
    22 
    3 import.pl -removeold -site atea digital-nz 
     3# import.pl -removeold -site atea digital-nz 
    44 
     5sudo -u www-data -- \ 
     6     bash -c 'pushd ../../../../../ && . gs3-setup.sh && popd && import.pl -removeold -site atea digital-nz'