#!/bin/sh

# this is a shell script, called by other files 
#
# it contains some of the main ACIS configuration options


###  defaults

homedir=/opt/ARDB


. ./sysconfig.main




### metadata configuration

###  RePEc:
if test $RePEc_data_dir; then
   metadata_collections="$metadata_collections RePEc"
   metadata_RePEc_home=$RePEc_data_dir
   metadata_RePEc_type=RePEcRec
fi


###  ACIS userdata collection:

metadata_collections="$metadata_collections ACIS"
metadata_ACIS_home=$homedir/userdata
metadata_ACIS_type=ACIS_UD



###  ACIS Web
# in minutes
session_lifetime=20


cd $homedir


###  produced variables

homelib="$homedir/lib"
homebin="$homedir/bin"



ri_home="$homedir/RI"
ri_log="$ri_home/daemon.log"
ri_pid_file="$ri_home/daemon.pid"

ri_daemon="$homebin/control_daemon.pl"


# ShortIDs config

sid_home="$homedir/SID"
sid_log="$sid_home/daemon.log"
sid_pid_file="$sid_home/daemon.pid"


if test -f ./sysconfig.local
then 
   . ./sysconfig.local
fi

# . ./sysconfig.sql
# . ./sysconfig.web
# . ./sysconfig.email







