Skip to content

Instantly share code, notes, and snippets.

@navjotjsingh
Created August 20, 2018 03:03
Show Gist options
  • Save navjotjsingh/13b8ee9cbb33e42829a8c5d669b4f8c7 to your computer and use it in GitHub Desktop.
Save navjotjsingh/13b8ee9cbb33e42829a8c5d669b4f8c7 to your computer and use it in GitHub Desktop.
NGinx Service for Windows
<service>
<id>nginx</id>
<name>nginx</name>
<description>nginx</description>
<executable>c:\nginx\nginx.exe</executable>
<logpath>c:\nginx\</logpath>
<logmode>roll</logmode>
<depend></depend>
<startargument>-p</startargument>
<startargument>c:\nginx</startargument>
<stopexecutable>c:\nginx\nginx.exe</stopexecutable>
<stopargument>-p</stopargument>
<stopargument>c:\nginx</stopargument>
<stopargument>-s</stopargument>
<stopargument>stop</stopargument>
</service>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment