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

Last change on this file since 22566 was 22229, checked in by davidb, 12 years ago

Minor tweaks

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.