Commit b1de42894b6027d7e83e820a23bc5be5b00030e2

Authored by Jarrett Jordaan
1 parent afb1d189

Story Id:1627025 Updated services templating

Committed by: Jarrett Jordaan

Reviewed by: Prince Mbekwa
setup/wizard/templates/complete.tpl
... ... @@ -16,10 +16,22 @@
16 16  
17 17 <?php if(!$servicesValidation) { ?>
18 18 <h3>Services</h3>
19   - Run the dmsctl.sh script in KnowledgeTree source root from a terminal.<br/>
20   - <i>cd KnowledgeTree_Installation_Folder<br/>
21   - ./dmsctl.sh start
22   - </i>
  19 + The KnowledgeTree services need to be started to allow for optimal functioning of the search, indexing and pdf generation.
  20 + <?php if(WINDOWS_OS) { ?>
  21 + To start the services, execute the dmsctl.sh shell script in the KnowledgeTree directory from a terminal.<br/><br/>
  22 + <?php } else { ?>
  23 + To start the services, execute the dmsctl.bat batch file in the KnowledgeTree directory from a command prompt, run as administrator.<br/><br/>
  24 + <?php } ?>
  25 + <p class="disclaimer">
  26 + <?php if(WINDOWS_OS) { ?>
  27 + cd KnowledgeTree_Installation_Folder<br/>
  28 + dmsctl.bat start
  29 + <?php } else { ?>
  30 + cd /usr/share/knowledgetree-ce<br/>
  31 + sudo ./dmsctl.sh start
  32 + <?php } ?>
  33 + </p>
  34 +
23 35 <br/>
24 36 <?php } ?>
25 37 <!-- Paths and Permissions -->
... ...
setup/wizard/templates/services.tpl
... ... @@ -41,7 +41,7 @@
41 41 <!--Content-->
42 42 <div id="step_content_configuration" class="step">
43 43 <?php if(!$alreadyInstalled) { ?>
44   - <?php if($validation) { ?>
  44 + <?php if($servicesValidation) { ?>
45 45 <?php if($javaExeError) { ?>
46 46 Specify the location of your Java executable
47 47 &nbsp;&nbsp;&nbsp;
... ... @@ -171,7 +171,7 @@
171 171 All services are already installed.
172 172 <!-- </p>-->
173 173 <?php } ?>
174   - <?php if($validation) { ?>
  174 + <?php if($servicesValidation) { ?>
175 175 <h3><?php echo "<span class='{$serviceCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Services Check</h3>
176 176 <?php if($silent) { ?>
177 177 <?php if($serviceCheck != 'tick') {
... ...