diff options
Diffstat (limited to 'msb-core/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml')
-rw-r--r-- | msb-core/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/msb-core/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml b/msb-core/apiroute/apiroute-standalone/src/assembly/resource/apiroute/apirouteService.xml new file mode 100644 index 0000000..f885a95 --- /dev/null +++ b/msb-core/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 |