Bläddra i källkod

增加服务模式

menglu 3 år sedan
förälder
incheckning
84a11c65dc

+ 3 - 0
ibms-data-sdk/etc/IBMSDataSDKService-install.bat

@@ -0,0 +1,3 @@
+title IBMSDataSDKService-install
+IBMSDataSDKService.exe install
+pause

+ 3 - 0
ibms-data-sdk/etc/IBMSDataSDKService-start.bat

@@ -0,0 +1,3 @@
+title IBMSDataSDKService-start
+net start IBMSDataSDKService
+pause

+ 3 - 0
ibms-data-sdk/etc/IBMSDataSDKService-stop.bat

@@ -0,0 +1,3 @@
+title IBMSDataSDKService-stop
+net stop IBMSDataSDKService
+pause

+ 3 - 0
ibms-data-sdk/etc/IBMSDataSDKService-uninstall.bat

@@ -0,0 +1,3 @@
+title IBMSDataSDKService-uninstall
+sc delete IBMSDataSDKService
+pause

+ 11 - 0
ibms-data-sdk/etc/IBMSDataSDKService.xml

@@ -0,0 +1,11 @@
+<service>
+  <id>IBMSDataSDKService</id>
+  <!-- Display name of the service -->
+  <name>IBMSDataSDKService</name>
+  <!-- Service description -->
+  <description>This service is a service created from a minimal configuration</description>  
+  <!-- Path to the executable, which should be started -->
+  <executable>java</executable>
+  <arguments>-jar ibms-data-sdk.jar -Xms4096m -Xmx8192m -XX:-UseGCOverheadLimit</arguments>
+  <logmode>rotate</logmode>
+</service>

+ 2 - 0
ibms-data-sdk/etc/IBMSDataSDKService服务配置WinSW版.txt

@@ -0,0 +1,2 @@
+1	WinSW.NET4.exe ¸ÄÃû IBMSDataSDKService.exe
+2 IBMSDataSDKService.xml