So Tired !_! 逆水行舟, 不进则退!


set nginx as Windows system service

  1. Download the latest version of Windows Service Wrapper from here.
    • Current version as of this writing is v1.17.
  2. Rename winsw-1.xx-bin.exe to something like nginxservice.exe.
    • This is the name that will show up for the process that owns your nginx process.
  3. Place an XML file next to the exe with the same base name, e.g. nginxservice.xml. The contents should be like below (verify your nginx location).
      <stopargument>-s stop</stopargument>
  4. Run the command nginxservice.exe install.
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.