wheezy installer: osrf_control; makefile.install pg changes
authorBill Erickson <berick@esilibrary.com>
Thu, 5 Sep 2013 18:27:00 +0000 (14:27 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 5 Sep 2013 18:27:00 +0000 (14:27 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
installer/wheezy/eg_wheezy_installer.sh

index 37c75a9..1f84447 100755 (executable)
@@ -72,8 +72,6 @@ if [ ! "$(grep ^opensrf: /etc/passwd)" ]; then
 export LD_LIBRARY_PATH=/openils/lib:/usr/local/lib:/usr/local/lib/dbd:$LD_LIBRARY_PATH' >> /home/opensrf/.bashrc
 fi;
 
-# XXX for now, fetch the debian-wheezy install target working branches and merge in master
-# XXX The git-config pieces are only necessary for merging the working branches
 OSRF_COMMAND='
 cd /home/opensrf;
 git clone git://git.evergreen-ils.org/OpenSRF.git;
@@ -85,7 +83,7 @@ su - opensrf sh -c "$OSRF_COMMAND";
 mkdir -p /usr/src/evergreen; 
 cd /usr/src/evergreen;
 make -f /home/opensrf/OpenSRF/src/extras/Makefile.install debian-wheezy
-make -f /home/opensrf/Evergreen/Open-ILS/src/extras/Makefile.install debian-wheezy install_pgsql_server_debs_91
+make -f /home/opensrf/Evergreen/Open-ILS/src/extras/Makefile.install debian-wheezy postgres-server-debian-wheezy
 
 # Configure rsyslog and restart
 cp /home/opensrf/Evergreen/Open-ILS/examples/evergreen-rsyslog.conf /etc/rsyslog.d/evergreen.conf
@@ -207,9 +205,7 @@ cat <<EOF
 * Start services
 
 su - opensrf
-osrf_ctl.sh -l -a start_router;
-osrf_ctl.sh -l -a start_perl   && sleep 10;
-osrf_ctl.sh -l -a start_c      && sleep  3;
+osrf_control --localhost --start-all
 /openils/bin/autogen.sh /openils/conf/opensrf_core.xml;
 
 * Test the system