[WinSW]Windows下把程序注册为系统服务(程序后台运行/自启动)

/ 2,175评论 / 12809阅读 / 5点赞

WinSW

* WinSW(Windows Service Wrapper)是一个开源项目,它可以让我们快速把一个可执行的程序注册为Windows的系统服务。

* 可以使得程序可以自启动,或者是可以关闭cmd窗口后保持运行。


环境


使用方法

<?xml version="1.0" encoding="UTF-8" ?>
<service>
  <id>nginx</id>
  <name>nginx</name>
  <description>nginx</description>
  <executable>D:\0Acoolight\App\nginx\nginx-1.20.2\nginx.exe</executable>
  <logpath>D:\0Acoolight\App\nginx\nginx-1.20.2\</logpath>
  <logmode>roll</logmode>
  <depend></depend>
  <startargument>-p D:\0Acoolight\App\nginx\nginx-1.20.2</startargument>
  <stopargument>-p D:\0Acoolight\App\nginx\nginx-1.20.2 -s stop</stopargument>
</service>

调整服务为自启动

手动启动服务

  1. Davidfrify说道:

    ciprofloxacin 500 mg tablet price ciprofloxacin order online cipro pharmacy

  2. RonaldSwobe说道:

    http://lisinopril.network/# 208 lisinopril

  3. RandallGuesE说道:

    buy generic ciprofloxacin: cipro pharmacy – cipro pharmacy

  4. RandallGuesE说道:

    buy cipro cheap: buy cipro – cipro generic

  5. TimsothyPal说道:

    зарегистрироваться cat casino
    ust-kamenogorsk.com

  6. Davidfrify说道:

    nolvadex estrogen blocker aromatase inhibitor tamoxifen tamoxifen side effects forum

  7. TimsothyPal说道:

    For most up-to-date information you have to pay a visit world wide web and on the web I found this site as a best website for latest updates.
    https://loveru.me/ulyanovsk-znakomstva-dlya-seksa/

  8. Davidfrify说道:

    tamoxifen cyp2d6 where to buy nolvadex tamoxifen medication

  9. WilliamRen说道:

    http://finasteride.store/# buy generic propecia prices

  10. Davidfrify说道:

    buy propecia for sale generic propecia pills order cheap propecia without insurance

回复 [frp+nginx]实现校园网内网穿透提供http服务(本地windows穿透到Linux云服务器上) – cool薄荷 取消回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注