commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r937225 - in /commons/proper/daemon/trunk/src/samples: ProcrunServiceInstall.cmd ProcrunServiceRemove.cmd
Date Fri, 23 Apr 2010 10:05:28 GMT
Author: mturk
Date: Fri Apr 23 10:05:28 2010
New Revision: 937225

URL: http://svn.apache.org/viewvc?rev=937225&view=rev
Log:
Add script for removing the services

Added:
    commons/proper/daemon/trunk/src/samples/ProcrunServiceRemove.cmd   (with props)
Modified:
    commons/proper/daemon/trunk/src/samples/ProcrunServiceInstall.cmd

Modified: commons/proper/daemon/trunk/src/samples/ProcrunServiceInstall.cmd
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/ProcrunServiceInstall.cmd?rev=937225&r1=937224&r2=937225&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/ProcrunServiceInstall.cmd (original)
+++ commons/proper/daemon/trunk/src/samples/ProcrunServiceInstall.cmd Fri Apr 23 10:05:28
2010
@@ -61,4 +61,5 @@ echo Setting the parameters for %SERVICE
 --StartMode=java --StartClass=ProcrunService --StartParams=start ^
  --StopMode=java  --StopClass=ProcrunService  --StopParams=stop
 
-echo Installation of %SERVICE_JAVA% is complete
\ No newline at end of file
+echo Installation of %SERVICE_JAVA% is complete
+echo Finished

Added: commons/proper/daemon/trunk/src/samples/ProcrunServiceRemove.cmd
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/ProcrunServiceRemove.cmd?rev=937225&view=auto
==============================================================================
--- commons/proper/daemon/trunk/src/samples/ProcrunServiceRemove.cmd (added)
+++ commons/proper/daemon/trunk/src/samples/ProcrunServiceRemove.cmd Fri Apr 23 10:05:28 2010
@@ -0,0 +1,34 @@
+@echo off
+rem 
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+
+rem Batch script for defining the ProcrunService
+
+setlocal
+
+rem The service names (make sure they does not clash with an existing service)
+set SERVICE_JVM=ProcrunServiceJvm
+set SERVICE_JAVA=ProcrunServiceJava
+
+
+echo Removing %SERVICE_JVM%
+%PRUNSRV% //DS//%SERVICE_JVM%
+
+echo Removing %SERVICE_JAVA%
+%PRUNSRV% //DS//%SERVICE_JAVA%
+%PRUNSRV% //IS//%SERVICE_JAVA%
+
+echo Finished

Propchange: commons/proper/daemon/trunk/src/samples/ProcrunServiceRemove.cmd
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message