Windows 2012 R2 下的 Nginx 1.16 配置

http://nginx.org/download/nginx-1.16.0.tar.gz

http://nginx.org/download/nginx-1.16.0.zip

http://nginx.org/en/download.html

https://github.com/kohsuke/winsw/

https://github.com/kohsuke/winsw/releases/tag/winsw-v2.2.0

Your renamed winsw.exe binary also accepts the following commands:

  • install to install the service to Windows Service Controller. This command requires some preliminary steps described in the Installation Guide.
  • uninstall to uninstall the service. The opposite operation of above.
  • start to start the service. The service must have already been installed.
  • stop to stop the service.
  • restart to restart the service. If the service is not currently running, this command acts like start.
  • status to check the current status of the service.
    • This command prints one line to the console.
      • NonExistent indicates the service is not currently installed
      • Started to indicate the service is currently running
      • Stopped to indicate that the service is installed but not currently running.

 

猜你喜欢

转载自www.cnblogs.com/beijingit/p/10918093.html