Commit 5e9d78d12bbdfcc942f7ec369dc5e05146e357dc
1 parent
88a8e2f5
Story Id:778902 Disabled Services
Committed by: Jarrett Jordaan Reviewed by: Paul Barrett
Showing
5 changed files
with
7 additions
and
5 deletions
setup/wizard/lib/services/unixLucene.php
| @@ -180,6 +180,7 @@ class unixLucene extends unixService { | @@ -180,6 +180,7 @@ class unixLucene extends unixService { | ||
| 180 | 180 | ||
| 181 | public function start() { | 181 | public function start() { |
| 182 | $state = $this->status(); | 182 | $state = $this->status(); |
| 183 | + return ; | ||
| 183 | if($state != 'STARTED') { | 184 | if($state != 'STARTED') { |
| 184 | $cmd = "cd ".$this->getLuceneDir()."; "; | 185 | $cmd = "cd ".$this->getLuceneDir()."; "; |
| 185 | $cmd .= "nohup java -jar ".$this->getLuceneSource()." > ".SYS_LOG_DIR."lucene.log 2>&1 & echo $!"; | 186 | $cmd .= "nohup java -jar ".$this->getLuceneSource()." > ".SYS_LOG_DIR."lucene.log 2>&1 & echo $!"; |
setup/wizard/lib/services/unixOpenOffice.php
| @@ -125,6 +125,7 @@ class unixOpenOffice extends unixService { | @@ -125,6 +125,7 @@ class unixOpenOffice extends unixService { | ||
| 125 | 125 | ||
| 126 | public function start() { | 126 | public function start() { |
| 127 | $state = $this->status(); | 127 | $state = $this->status(); |
| 128 | + return ; | ||
| 128 | if($state != 'STARTED') { | 129 | if($state != 'STARTED') { |
| 129 | $cmd = "nohup {$this->getBin()} ".$this->getOption()." > ".SYS_LOG_DIR."{$this->getLog()} 2>&1 & echo $!"; | 130 | $cmd = "nohup {$this->getBin()} ".$this->getOption()." > ".SYS_LOG_DIR."{$this->getLog()} 2>&1 & echo $!"; |
| 130 | $response = $this->util->pexec($cmd); | 131 | $response = $this->util->pexec($cmd); |
setup/wizard/lib/services/unixScheduler.php
| @@ -150,6 +150,7 @@ class unixScheduler extends unixService { | @@ -150,6 +150,7 @@ class unixScheduler extends unixService { | ||
| 150 | function start() { | 150 | function start() { |
| 151 | // TODO : Write sh on the fly? Not sure the reasoning here | 151 | // TODO : Write sh on the fly? Not sure the reasoning here |
| 152 | $source = $this->getSchedulerSourceLoc(); | 152 | $source = $this->getSchedulerSourceLoc(); |
| 153 | + return ; | ||
| 153 | if($source) { // Source | 154 | if($source) { // Source |
| 154 | $cmd = "nohup ".$source." > ".SYS_LOG_DIR."scheduler.log 2>&1 & echo $!"; | 155 | $cmd = "nohup ".$source." > ".SYS_LOG_DIR."scheduler.log 2>&1 & echo $!"; |
| 155 | $response = $this->util->pexec($cmd); | 156 | $response = $this->util->pexec($cmd); |
setup/wizard/output/outJV deleted
| 1 | -sh: -version: not found |
setup/wizard/resources/wizard.js
| @@ -5,12 +5,12 @@ function wizard() { | @@ -5,12 +5,12 @@ function wizard() { | ||
| 5 | // Does a form check on every new page load | 5 | // Does a form check on every new page load |
| 6 | wizard.prototype.doFormCheck = function() { | 6 | wizard.prototype.doFormCheck = function() { |
| 7 | w.addReadOnly(); | 7 | w.addReadOnly(); |
| 8 | - w.load(); | 8 | + w.preload(); |
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | // Toggle Advance Database options | 11 | // Toggle Advance Database options |
| 12 | -wizard.prototype.toggleClass = function(el, option) { | ||
| 13 | - var el = document.getElementsByClassName(el); //adv_options|php_details|php_ext_details|php_con_details | 12 | +wizard.prototype.toggleClass = function(ele, option) { |
| 13 | + var el = document.getElementsByClassName(ele); //adv_options|php_details|php_ext_details|php_con_details | ||
| 14 | if(el[0].style.display == 'none') { | 14 | if(el[0].style.display == 'none') { |
| 15 | el[0].style.display = 'block'; | 15 | el[0].style.display = 'block'; |
| 16 | if(document.getElementById(option).innerHTML != ' Advanced Options') | 16 | if(document.getElementById(option).innerHTML != ' Advanced Options') |
| @@ -279,6 +279,6 @@ wizard.prototype.addReadOnly = function() { | @@ -279,6 +279,6 @@ wizard.prototype.addReadOnly = function() { | ||
| 279 | } | 279 | } |
| 280 | 280 | ||
| 281 | /* */ | 281 | /* */ |
| 282 | -wizard.prototype.load = function() { | 282 | +wizard.prototype.preload = function() { |
| 283 | // $('#tooltips').tooltip(); | 283 | // $('#tooltips').tooltip(); |
| 284 | } | 284 | } |
| 285 | \ No newline at end of file | 285 | \ No newline at end of file |