Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r714 - branches/opensource/scripts/admin/test_server

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r714 - branches/opensource/scripts/admin/test_server


Chronological Thread 
  • From: "Apache" <apache AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r714 - branches/opensource/scripts/admin/test_server
  • Date: Wed, 6 Feb 2008 16:08:55 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: stadler_h AT PSI.CH
Date: Wed Feb 6 16:08:54 2008
New Revision: 714

Log:
Added indexer startup code in init script.

Modified:
branches/opensource/scripts/admin/test_server/setup_test_server_ubuntu.sh

Modified:
branches/opensource/scripts/admin/test_server/setup_test_server_ubuntu.sh
==============================================================================
--- branches/opensource/scripts/admin/test_server/setup_test_server_ubuntu.sh
(original)
+++ branches/opensource/scripts/admin/test_server/setup_test_server_ubuntu.sh
Wed Feb 6 16:08:54 2008
@@ -41,6 +41,9 @@
#apt-get install ant
#apt-get install subversion
#apt-get install apache2
+#apt-get install openoffice.org-calc openoffice.org-draw
openoffice.org-impress openoffice.org-writer
+#apt-get install apt-get install libtiff-tools
+#apt-get install xvfb

#
# Create directory tree and test project
@@ -148,20 +151,26 @@
start) log_daemon_msg "Starting iDok services" "idok"
start-stop-daemon --start --chuid www-data:www-data --background
--exec /usr/bin/ant -- -f $IDOK_SRC_DIR/local-server.xml
-Dserver.hostname=$IDOK_HOST -Dserver.root.dir=$IDOK_SERVER_ROOT start-orbd
start-stop-daemon --start --chuid www-data:www-data --background
--exec /usr/bin/ant -- -f $IDOK_SRC_DIR/local-server.xml
-Dserver.hostname=$IDOK_HOST -Dserver.root.dir=$IDOK_SERVER_ROOT
start-server-sunorb
+ start-stop-daemon --start --chuid www-data:www-data --background
--exec /usr/bin/ant -- -f $IDOK_SRC_DIR/local-server.xml
-Dserver.hostname=$IDOK_HOST -Dserver.root.dir=$IDOK_SERVER_ROOT start-xvfb
+ start-stop-daemon --start --chuid www-data:www-data --background
--exec /usr/bin/ant -- -f $IDOK_SRC_DIR/local-server.xml
-Dserver.hostname=$IDOK_HOST -Dserver.root.dir=$IDOK_SERVER_ROOT start-indexer
log_end_msg $?
;;
stop) log_daemon_msg "Stopping iDok services" "idok"
# Brute force approach: Kill all java and orbd processes
killall java
killall orbd
+ killall Xvfb
log_end_msg $?
;;
restart) log_daemon_msg "Restarting iDok services" "idok"
# Brute force approach: Kill all java and orbd processes
killall java
killall orbd
+ killall Xvfb
start-stop-daemon --start --chuid www-data:www-data --background
--exec /usr/bin/ant -- -f $IDOK_SRC_DIR/local-server.xml
-Dserver.hostname=$IDOK_HOST -Dserver.root.dir=$IDOK_SERVER_ROOT start-orbd
start-stop-daemon --start --chuid www-data:www-data --background
--exec /usr/bin/ant -- -f $IDOK_SRC_DIR/local-server.xml
-Dserver.hostname=$IDOK_HOST -Dserver.root.dir=$IDOK_SERVER_ROOT
start-server-sunorb
+ start-stop-daemon --start --chuid www-data:www-data --background
--exec /usr/bin/ant -- -f $IDOK_SRC_DIR/local-server.xml
-Dserver.hostname=$IDOK_HOST -Dserver.root.dir=$IDOK_SERVER_ROOT start-xvfb
+ start-stop-daemon --start --chuid www-data:www-data --background
--exec /usr/bin/ant -- -f $IDOK_SRC_DIR/local-server.xml
-Dserver.hostname=$IDOK_HOST -Dserver.root.dir=$IDOK_SERVER_ROOT start-indexer
log_end_msg $?
;;
reload|force-reload) log_daemon_msg "Reloading configuration files iDok
services" "idok"



  • [idok-commit] idok commit r714 - branches/opensource/scripts/admin/test_server, Apache, 02/06/2008

Archive powered by MHonArc 2.6.19.

Top of Page