Commit 0c5f43575657d5b73a3ee2999ae1090d4345bcbc
1 parent
aff1257e
Story Id:1166880 Updated Services Testing
Committed by: Jarrett Jordaan Reviewed by: Megan Watson
Showing
1 changed file
with
2 additions
and
1 deletions
setup/wizard/lib/services/unixOpenOffice.php
| @@ -138,7 +138,8 @@ class unixOpenOffice extends unixService { | @@ -138,7 +138,8 @@ class unixOpenOffice extends unixService { | ||
| 138 | public function start() { | 138 | public function start() { |
| 139 | $state = $this->status(); | 139 | $state = $this->status(); |
| 140 | if($state != 'STARTED') { | 140 | if($state != 'STARTED') { |
| 141 | - $cmd = "nohup ".$this->getBin().' -nofirststartwizard -nologo -headless -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" '." &1> /dev/null &"; | 141 | + //$cmd = "nohup ".$this->getBin().' -nofirststartwizard -nologo -headless -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" '." &1> /dev/null &"; |
| 142 | + $cmd = "nohup ".$this->getBin().' -nofirststartwizard -nologo -headless -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" '." > /dev/null 2>&1 & echo $!"; | ||
| 142 | if(DEBUG) { | 143 | if(DEBUG) { |
| 143 | echo "Command : $cmd<br/>"; | 144 | echo "Command : $cmd<br/>"; |
| 144 | return true; | 145 | return true; |