commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r924713 - /commons/proper/daemon/trunk/src/site/xdoc/procrun.xml
Date Thu, 18 Mar 2010 11:23:17 GMT
Author: sebb
Date: Thu Mar 18 11:23:17 2010
New Revision: 924713

URL: http://svn.apache.org/viewvc?rev=924713&view=rev
Log:
More documentation tweaks:
- added missing //MR and //MQ options for Prunmgr
- more detail on default service name processing

Modified:
    commons/proper/daemon/trunk/src/site/xdoc/procrun.xml

Modified: commons/proper/daemon/trunk/src/site/xdoc/procrun.xml
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/site/xdoc/procrun.xml?rev=924713&r1=924712&r2=924713&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/site/xdoc/procrun.xml (original)
+++ commons/proper/daemon/trunk/src/site/xdoc/procrun.xml Thu Mar 18 11:23:17 2010
@@ -38,20 +38,43 @@
 <p>
     Each command line directive is in the form of <b>//XX[//ServiceName]</b>
 </p>
+<p>
+    If the <code>//ServiceName</code> parameter is omitted, then the service
name is
+    assumed to be the name of the file. 
+    <br/>
+    The Prunsrv application behaves in the same way,
+    so to allow both applications to reside in the same directory, the Prunmgr application
+    will remove a trailing <b>w</b> (lower-case w) from the name.
+    <br/>
+    For example if the Prunmgr application is renamed as <code>TestService.exe</code>
+    - or as <code>TestServicew.exe</code> -
+    then the default service name is <code>TestService</code>.
+</p>
     <p>The available command line options are:</p>
 <p> 
     <table>
     <tr><th>//ES</th>
         <td>Edit service configuration</td>
         <td>This is the default operation. It is called if the no option is
-            provided but the executable is renamed to <b>servicename.exe</b>.
-            The default service name is taken from the name of the executable.
+            provided.
+            Starts the GUI application which allows the service configuration 
+            to be modified, started and stopped.
         </td>
     </tr>
     <tr><th>//MS</th>
         <td>Monitor service</td>
-        <td>Put the icon in the system tray. 
-            The default service name is taken from the name of the executable.
+        <td>Starts the GUI application and minimizes it to the system tray. 
+        </td>
+    </tr>
+    <tr><th>//MR</th>
+        <td>Monitor &amp; run service</td>
+        <td>Starts the GUI application and minimizes it to the system tray.
+            Start the service if it is not currently running. 
+        </td>
+    </tr>
+    <tr><th>//MQ</th>
+        <td>Monitor Quit</td>
+        <td>Stop any running monitor for the service. 
         </td>
     </tr>
     </table>
@@ -68,13 +91,20 @@
 <p>
     Each command line directive is in the form of <b>//XX[//ServiceName]</b>
 </p>
+<p>
+    If the <code>//ServiceName</code> parameter is omitted, then the service
name is
+    assumed to be the name of the file.
+    <br/>
+    For example if the application is renamed as <code>TestService.exe</code>,
+    then the default service name is <code>TestService</code>.
+</p>
     <p>The available command line options are:</p>
 <p> 
     <table>
     <tr><th>//TS</th>
-        <td>Run the service as console application</td>
-        <td>This is the default operation. It is called if the no option is
-            provided but the executable is renamed to <b>servicename.exe</b></td>
+        <td>Run the service as a console application</td>
+        <td>This is the default operation. It is called if the no option is provided.
+        </td>
     </tr>
     <tr><th>//RS</th>
         <td>Run the service</td>
@@ -94,11 +124,7 @@
     </tr>
     <tr><th>//DS</th>
         <td>Delete service</td>
-        <td>Stops the service if running</td>
-    </tr>        
-    <tr><th>//DS</th>
-        <td>Delete service</td>
-        <td>Stops the service if running</td>
+        <td>Stops the service first if it is currently running</td>
     </tr>        
     <tr><th>//VS</th>
         <td>Version</td>
@@ -431,5 +457,10 @@ testservice.exe and this command mode wi
 
 </section>
 
+<section name="Using Procrun in Java">
+<p>
+TBA
+</p>
+</section>
 </body>
 </document> 



Mime
View raw message