mturk 2003/02/09 01:36:56
Modified: daemon/src/native/nt/procrun readme.txt
Log:
Added some examples.
Revision Changes Path
1.3 +24 -4 jakarta-commons-sandbox/daemon/src/native/nt/procrun/readme.txt
Index: readme.txt
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/nt/procrun/readme.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- readme.txt 7 Feb 2003 18:56:33 -0000 1.2
+++ readme.txt 9 Feb 2003 09:36:56 -0000 1.3
@@ -21,11 +21,11 @@
//IS//<serviceName> Install the service
//RS//<serviceName> Run service
- called only when running as service
-//SS//<serviceName> Start the service
+ called only when running as service. Do not call that
+ directly.
//DS//<serviceName> Delete the service
//TS//<serviceName> Test the service
- Run service as ordinary console application
+ Run service as ordinary console application.
//US//<serviceName> Update service
Change services startup parameters
@@ -112,7 +112,11 @@
--Password <password>
The password of User account used for launching
redirected process.
-
+
+--Install <procrun.exe>
+ Used as Service manager ImagePath when installing
+ service from installation program using procrunw.
+
Examples:
Installing Tomcat as service:
@@ -122,3 +126,19 @@
--StartupClass org.apache.catalina.startup.Bootstrap;main;start \
--ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop \
--Java auto
+
+Installing Tomcat as service without popup console window:
+ procrunw //IS//Tomcat4 --DisplayName "Tomcat 4.1.19" \
+ --Description "Tomcat 4.1.19 LE JDK 1.4 http://jakarta.apache.org" \
+ --Install "c:\devtools\tomcat\41\bin\procrun.exe"
+
+After installing you may call update service to add or change service
+parameters:
+ procrunw //US//Tomcat4 \
+ --ImagePath "c:\devtools\tomcat\41\bin\bootstrap.jar" \
+ --StartupClass org.apache.catalina.startup.Bootstrap;main;start \
+ --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop \
+ --Java auto
+
+Notice:
+ You may change all parameters except service name and Install image.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]