make check
echo Return Value = $?
echo End of OpenSRF build tests =~-._
+echo _.-~= Installing OpenSRF
make install
+echo Return Value = $?
+echo End of Installing OpenSRF =~-._
# Build and install the ILS
OSRF_COMMAND='
echo Return Value = $?
echo End of Evergreen build tests =~-._
+echo _.-~= Installing Evergreen
make install
+echo Return Value = $?
cp /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml
cp /openils/conf/opensrf_core.xml.example /openils/conf/opensrf_core.xml
--database evergreen \
--admin-user $ADMIN_USER \
--admin-pass $ADMIN_PASS;
+echo Return Value = $?
if [ $LIVETEST ]; then
PG_CMD="
echo "INFO: /etc/hosts already has public.localhost line";
fi
+echo End of Installing Evergreen =~-._
+
if [ $AUTOSTART ]; then
if [ $LIVETEST ]; then
rm /openils/var/log/*.log
fi
+echo _.-~= Starting Evergreen
+
OSRF_COMMAND='
export LD_LIBRARY_PATH=/openils/lib:/usr/local/lib:/usr/local/lib/dbd:$LD_LIBRARY_PATH \
&& export PATH=/openils/bin:$PATH \
echo Restarting Apache
/etc/init.d/apache2 restart
+echo End of Starting Evergreen =~-._
+
if [ $LIVETEST ]; then
# TODO: Eventually move these tests into a Make target within Evergreen
cd /home/opensrf/Evergreen