-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcopy-config.sh
executable file
·27 lines (24 loc) · 1.41 KB
/
copy-config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
source variables.conf
function copyConfig()
{
cp $ARCHIVE_HOME/conf/fedora.install.properties $ARCHIVE_HOME/fedora/install/install.properties
cp $ARCHIVE_HOME/conf/fedora-users.xml $ARCHIVE_HOME/fedora/server/config/
cp $ARCHIVE_HOME/conf/fedora.fcfg $ARCHIVE_HOME/fedora/server/config/
cp $ARCHIVE_HOME/conf/tomcat.setenv.sh $TOMCAT_HOME/bin/setenv.sh
cp $ARCHIVE_HOME/conf/tomcat-users.xml $TOMCAT_CONF/
cp $ARCHIVE_HOME/conf/tomcat.logging.properties $TOMCAT_CONF/logging.properties
#cp $ARCHIVE_HOME/conf/proai.properties $TOMCAT_HOME/webapps/oai-pmh/WEB-INF/classes/
cp $ARCHIVE_HOME/conf/application.conf /etc/toscience/api/
cp $ARCHIVE_HOME/conf/application.env /etc/toscience/api/env
cp $ARCHIVE_HOME/conf/mail.properties /etc/toscience/api/mail.properties
cp $ARCHIVE_HOME/conf/labels.env /etc/toscience/labels/env
cp $ARCHIVE_HOME/conf/application.labels.conf /etc/toscience/labels/application.conf
cp $ARCHIVE_HOME/conf/application.forms.conf /etc/toscience/forms/application.conf
cp $ARCHIVE_HOME/conf/forms.env /etc/toscience/forms/env
cp $ARCHIVE_HOME/conf/skos-lookup.env /etc/toscience/skos-lookup/env
cp $ARCHIVE_HOME/conf/heritrix-start.sh $ARCHIVE_HOME/heritrix/
cp $ARCHIVE_HOME/conf/Identify.xml $ARCHIVE_HOME/drupal/oai/pmh/
#cp $ARCHIVE_HOME/conf/robots.txt $ARCHIVE_HOME/python3/lib/python3.6/site-packages/wpull/testing/static/
}
copyConfig