aboutsummaryrefslogtreecommitdiffstats
path: root/openresty-ext/src/assembly/resources/openresty/nginx/openrestyService.xml
diff options
context:
space:
mode:
authorHuabingZhao <zhaohuabing@zte.com.cn>2016-08-13 14:10:39 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2016-08-13 16:10:38 +0800
commit4ed15bda06c8e9a407c12d527b8224737ba339d5 (patch)
treeff51edcca2435a31c0cc7ee22b70348c74aa118d /openresty-ext/src/assembly/resources/openresty/nginx/openrestyService.xml
parent29c0018a50104f18b34277cc01720c0b3e401212 (diff)
Initial code import
Change-Id: I839b84e5200aedece6c33deb16bec1bf9dbb61df Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'openresty-ext/src/assembly/resources/openresty/nginx/openrestyService.xml')
-rw-r--r--openresty-ext/src/assembly/resources/openresty/nginx/openrestyService.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/openresty-ext/src/assembly/resources/openresty/nginx/openrestyService.xml b/openresty-ext/src/assembly/resources/openresty/nginx/openrestyService.xml
new file mode 100644
index 0000000..ced7188
--- /dev/null
+++ b/openresty-ext/src/assembly/resources/openresty/nginx/openrestyService.xml
@@ -0,0 +1,13 @@
+<service>
+ <id>msb_openresty</id>
+ <name>msb_openresty</name>
+ <description>This service runs openresty.</description>
+ <workingdirectory>%BASE%</workingdirectory>
+ <env name="RUNHOME" value="%BASE%"/>
+ <executable>nginx.exe</executable>
+ <stopexecutable>nginx.exe</stopexecutable>
+ <stopargument>-s</stopargument>
+ <stopargument>stop</stopargument>
+ <logmode>rotate</logmode>
+ <!-- stopparentprocessfirst>true</stopparentprocessfirst -->
+</service> \ No newline at end of file