aboutsummaryrefslogtreecommitdiffstats
path: root/openresty-ext/src/assembly/resources/openresty/nginx/openrestyService.xml
diff options
context:
space:
mode:
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