Revision: 3911
Author: [email protected]
Date: Thu Jun 30 13:13:43 2011
Log: Edited wiki page InstallationRHELS through web user interface.
http://code.google.com/p/openmeetings/source/detail?r=3911
Modified:
/wiki/InstallationRHELS.wiki
=======================================
--- /wiki/InstallationRHELS.wiki Thu Jun 30 13:12:19 2011
+++ /wiki/InstallationRHELS.wiki Thu Jun 30 13:13:43 2011
@@ -89,15 +89,59 @@
./setup
}}}
-After installin OO I create a init script and I move it to the necesary
runlevel.
+After installing OO I create a init script and I move it to the necesary
runlevel.
{{{
Vi /etc/init.d/openoffice
}}}
-
-
-
+{{{
+ #!/bin/bash
+ # chkconfig: 345 20 80
+ # description: init.d script for headless openoffice.org (3.3+
+for RHEL5 64bit)
+ #
+ # processname: soffice
+ #
+ # source function library
+ . /etc/rc.d/init.d/functions
+ RETVAL=0
+ SOFFICE_PATH='/usr/bin/openoffice.org3'
+ SOFFICE_ARGS='-
+accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -
+headless -nofirststartwizard -nologo'
+ SOFFICE_PIDFILE=/var/run/soffice.bin.pid
+ start_soffice() {
+ echo -n $"Starting OpenOffice.org"
+ $SOFFICE_PATH $SOFFICE_ARGS >/dev/null 2>&1 &
+ [ $? -eq 0 ] && echo_success || echo_failure
+ pidof soffice.bin > $SOFFICE_PIDFILE
+ echo
+ }
+ start() {
+ start_soffice
+ }
+ stop() {
+ echo -n $"Stopping OpenOffice"
+ killproc soffice
+ echo
+ }
+ case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart)
+ stop
+ start
+ ;;
+ *)
+ echo $"Usage: $0 {start|stop|restart}"
+ esac
+
+}}}
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.