aboutsummaryrefslogtreecommitdiffstats
path: root/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml
diff options
context:
space:
mode:
Diffstat (limited to 'apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml')
-rw-r--r--apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml b/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml
new file mode 100644
index 0000000..f885a95
--- /dev/null
+++ b/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml
@@ -0,0 +1,13 @@
+<service>
+ <id>msb_apiroute</id>
+ <name>msb_apiroute</name>
+ <description>This service runs apiroute.</description>
+ <workingdirectory>%BASE%</workingdirectory>
+ <env name="JAVA_HOME" value="c:\jdk"/>
+ <env name="RUNHOME" value="%BASE%"/>
+ <executable>java</executable>
+ <arguments>-jar "apiroute-service.jar" server "conf/apiroute.yml"</arguments>
+ <stopexecutable>stop.bat</stopexecutable>
+ <logmode>rotate</logmode>
+ <!-- stopparentprocessfirst>true</stopparentprocessfirst -->
+</service> \ No newline at end of file