aboutsummaryrefslogtreecommitdiffstats
path: root/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml
diff options
context:
space:
mode:
authorHuabing Zhao <zhao.huabing@zte.com.cn>2016-08-13 09:04:30 +0000
committerGerrit Code Review <gerrit@open-o.org>2016-08-13 09:04:30 +0000
commit230628860edf5ff489dd59e299d35c80d1329a5d (patch)
treeff51edcca2435a31c0cc7ee22b70348c74aa118d /apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml
parent1ae0c8d11018ac804be96062c34fcf0d9015ef35 (diff)
parent4ed15bda06c8e9a407c12d527b8224737ba339d5 (diff)
Merge "Initial code import"
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