source: gs2-extensions/open-office/trunk/src/START-UP.sh@ 23227

Last change on this file since 23227 was 23227, checked in by sjm84, 13 years ago

Phase 1 of rearranging the open-office extension

File size: 406 bytes
Line 
1#!/bin/bash
2
3which soffice >/dev/null 2>&1
4if [ $? = 0 ] ; then
5
6 echo "Starting up Open Office Server (headless mode)"
7
8 soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -headless
9
10 echo "Testing to see if soffice is listening on port 8100"
11
12 netstat -an | grep 8100
13else
14 echo ""
15 echo "Error: Unable to find 'soffice' on PATH environment variable"
16 echo ""
17fi
18
19
20
Note: See TracBrowser for help on using the repository browser.