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

/ 1,997评论 / 9857阅读 / 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. PhilipBup说道:

    get ed meds today best ed medication online buy ed medication online

  2. Armandosed说道:

    https://edpill.top/# buying ed pills online

  3. MatthewDoolo说道:

    online pharmacy without prescription: no prescription required pharmacy – canadian pharmacy discount code

  4. HarveyBeemi说道:

    https://onlinepharmacyworld.shop/# rx pharmacy coupons

  5. Armandosed说道:

    http://edpill.top/# ed medicines

  6. PhilipBup说道:

    online canadian pharmacy no prescription canadian drugs no prescription buy medications online no prescription

  7. Armandosed说道:

    https://medicationnoprescription.pro/# online pharmacies no prescription

  8. AustinWhoto说道:

    buy ed meds online: buy erectile dysfunction treatment – buy ed pills

  9. PhilipBup说道:

    canada drugs without prescription medication online without prescription best online pharmacy without prescription

  10. HarveyBox说道:

    https://onlinepharmacyworld.shop/# canadian pharmacy world coupon

  11. HarveyBeemi说道:

    https://medicationnoprescription.pro/# buying prescription drugs online from canada

  12. Armandosed说道:

    https://edpill.top/# order ed meds online

  13. PhilipBup说道:

    erectile dysfunction drugs online ed drugs online cheap erection pills

  14. Armandosed说道:

    https://onlinepharmacyworld.shop/# foreign pharmacy no prescription

  15. BryanSturf说道:

    where to buy amoxicillin over the counter: generic for amoxicillin – can you buy amoxicillin over the counter in canada

  16. DomenicDobby说道:

    where to buy zithromax in canada: zithromax 500mg price – zithromax online pharmacy canada

  17. JamesLot说道:

    buy stromectol pills ivermectin 2ml ivermectin lotion

  18. MichaelPycle说道:

    amoxicillin cost australia: amoxicillin online purchase – where can you buy amoxicillin over the counter

  19. Josephtrink说道:

    http://clomida.pro/# where can i buy clomid no prescription

  20. MichaelPycle说道:

    prednisone 30: prednisone pak – 30mg prednisone

  21. JamesLot说道:

    prednisone 20 mg generic prednisone 20mg capsule prednisone 20mg nz

  22. MichaelPycle说道:

    buy amoxicillin from canada: rexall pharmacy amoxicillin 500mg – how to get amoxicillin over the counter

  23. BryanSturf说道:

    ivermectin 3mg: ivermectin 9mg – stromectol price

  24. MichaelPycle说道:

    ivermectin humans: stromectol pills – ivermectin australia

  25. JamesLot说道:

    amoxicillin 250 mg capsule amoxicillin where to get buy amoxicillin 250mg

  26. sklep online说道:

    Wow, amazing blog format! How lengthy have you ever been blogging for?
    you make blogging glance easy. The full look of your web site is
    magnificent, let alone the content! You can see similar here
    najlepszy sklep

  27. MichaelPycle说道:

    stromectol 6 mg dosage: stromectol 15 mg – ivermectin cream cost

  28. BrainSaw说道:

    http://clomida.pro/# where to buy generic clomid

  29. DomenicDobby说道:

    can i buy clomid no prescription: generic clomid without insurance – can i order cheap clomid no prescription

  30. JamesLot说道:

    amoxicillin 500mg capsules antibiotic buy amoxicillin 500mg capsules uk amoxicillin cost australia

  31. BryanSturf说道:

    ivermectin 4000 mcg: buy stromectol pills – buy stromectol uk

  32. Josephtrink说道:

    https://stromectola.top/# minocycline 50mg tablets

回复 Tax 取消回复

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