source:
gs2-extensions/open-office/trunk/START-UP.sh@
22229
Last change on this file since 22229 was 22229, checked in by , 14 years ago | |
---|---|
File size: 406 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | which soffice >/dev/null 2>&1 |
4 | if [ $? = 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 |
13 | else |
14 | echo "" |
15 | echo "Error: Unable to find 'soffice' on PATH environment variable" |
16 | echo "" |
17 | fi |
18 | |
19 | |
20 |
Note:
See TracBrowser
for help on using the repository browser.