Last change
on this file since 32227 was 23227, checked in by sjm84, 14 years ago |
Phase 1 of rearranging the open-office extension
|
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.