[Erp5-report] r37884 gabriel - in /erp5/trunk/utils/cloudooo/cloudooo: README cloudooo
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Aug 18 14:35:18 CEST 2010
Author: gabriel
Date: Wed Aug 18 14:35:16 2010
New Revision: 37884
URL: http://svn.erp5.org?rev=37884&view=rev
Log:
remove cloudooo script because is not used more and add in REAME how to stop the application correctly
Removed:
erp5/trunk/utils/cloudooo/cloudooo/cloudooo
Modified:
erp5/trunk/utils/cloudooo/cloudooo/README
Modified: erp5/trunk/utils/cloudooo/cloudooo/README
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/README?rev=37884&r1=37883&r2=37884&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/README [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/README [utf8] Wed Aug 18 14:35:16 2010
@@ -42,7 +42,8 @@ Create Configuration File
The next step is define some attributes in cloudooo.conf:
- - uno and soffice path;
+ - uno_path - full path to UNO library;
+ - soffice_bin_path - full path to soffice.bin;
Run Application
===============
@@ -54,8 +55,16 @@ Run Application
$ paster serve ./cloudoo.conf --daemon
-Description of Daemon
----------------------
+Stop Application
+===============
+
+ $ kill -1 PASTER_PID
+
+ Warning: always use SIGHUP because only with this signal all processes are
+stopped correctly.
+
+Cloudooo Description
+=====================
- XMLRPC + WSGI will be one bridge for easy access OpenOffice.org. This will implement one XMLRPC server into WSGI (Paster).
Removed: erp5/trunk/utils/cloudooo/cloudooo/cloudooo
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/cloudooo?rev=37883&view=auto
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/cloudooo [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/cloudooo (removed)
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-$PASTER_PATH="paster"
-$CONF_PATH="./samples/cloudooo.conf"
-
-lsb_functions="/etc/rc.d/init.d/functions"
-if test -f $lsb_functions ; then
-. $lsb_functions
-else
- log_success_msg()
- {
- echo " SUCCESS! $@"
- }
- log_failure_msg()
- {
- echo " ERROR! $@"
- }
-fi
-# complete path of the cloudooo folder
-FOLDER=$(cd $(dirname $0); pwd -P)/
-# get the pid of the cloudooo
-CLOUDOOO_PID=$FOLDER/paster.pid
-# complete path of this script
-SELF=$FOLDER$(basename $0)
-
-case "$1" in
-
-start)
- $PASTER_PATH serve $CONF_PATH --daemon;;
-stop)
- kill -1 `cat $CLOUDOOO_PID`;
- $PASTER_PATH serve $CONF_PATH --stop-daemon;;
-restart)
- $SELF stop;
- $SELF start;;
-fg)
- $PASTER_PATH serve $CONF_PATH;;
-*)
- echo "Usage: ./cloudooo {start|stop|restart}";
- exit 1;;
-esac
-exit 0
More information about the Erp5-report
mailing list