commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

Add script for removing the services

    commons/proper/daemon/trunk/src/samples/ProcrunServiceRemove.cmd   (with props)

Modified: commons/proper/daemon/trunk/src/samples/ProcrunServiceInstall.cmd
--- commons/proper/daemon/trunk/src/samples/ProcrunServiceInstall.cmd (original)
+++ commons/proper/daemon/trunk/src/samples/ProcrunServiceInstall.cmd Fri Apr 23 10:05:28
@@ -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
--- 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 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 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
+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%
+echo Removing %SERVICE_JAVA%
+echo Finished

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

View raw message