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

/ 2,773评论 / 14369阅读 / 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. DavidTaK说道:

    best no prescription online pharmacy best online pharmacy no prescription buy medications without a prescription

  2. DavidTaK说道:

    buy drugs from canada legit canadian pharmacy online my canadian pharmacy rx

  3. Felipelam说道:

    http://pharmworld.store/# canadian pharmacy world coupon

  4. Felipelam说道:

    http://pharmmexico.online/# buying prescription drugs in mexico

  5. DavidTaK说道:

    buy medication online no prescription no prescription medicines best online pharmacy without prescriptions

  6. Williamfug说道:

    cheapest online pharmacy india: mail order pharmacy india – reputable indian online pharmacy

  7. DonaldtAg说道:

    canada drugs without prescription: best no prescription online pharmacy – buy drugs online without prescription

  8. DonaldtAg说道:

    top 10 online pharmacy in india: online shopping pharmacy india – india pharmacy mail order

  9. Donaldkenty说道:

    top 10 pharmacies in india: buy prescription drugs from india – world pharmacy india

  10. DavidTaK说道:

    canada drug pharmacy my canadian pharmacy rx best canadian pharmacy online

  11. Williamfug说道:

    canadian pharmacy online ship to usa: safe reliable canadian pharmacy – canadian pharmacy king

  12. Williamfug说道:

    pharmacy online no prescription: canadian pharmacy online no prescription – best online pharmacy that does not require a prescription in india

  13. DavidTaK说道:

    buying prescription drugs in mexico online mexico pharmacy mexican pharmaceuticals online

  14. Felipelam说道:

    http://pharmmexico.online/# medicine in mexico pharmacies

  15. DonaldtAg说道:

    canada rx pharmacy world: my canadian pharmacy review – reliable canadian online pharmacy

  16. DavidTaK说道:

    non prescription online pharmacy india how to order prescription drugs from canada online pharmacy that does not require a prescription

  17. Felipelam说道:

    http://pharmnoprescription.icu/# quality prescription drugs canada

  18. Felipelam说道:

    http://pharmnoprescription.icu/# canadian pharmacy online no prescription needed

  19. Williamfug说道:

    cheap prescription drugs online: canadian pharmacy no prescription needed – pharmacies without prescriptions

  20. Jeromeviaph说道:

    http://pharmcanada.shop/# online canadian pharmacy

  21. DavidTaK说道:

    no prescription no prescription medicine online pharmacies no prescription usa

  22. Williamfug说道:

    mexico pharmacy: purple pharmacy mexico price list – medication from mexico pharmacy

  23. Williamfug说道:

    no prescription needed canadian pharmacy: canada online pharmacy no prescription – online pharmacy no prescription

  24. Donaldkenty说道:

    top 10 pharmacies in india: indian pharmacy paypal – best india pharmacy

  25. Felipelam说道:

    http://pharmworld.store/# cheapest pharmacy for prescriptions

  26. DavidTaK说道:

    buying prescription drugs in mexico online pharmacies in mexico that ship to usa mexican pharmaceuticals online

  27. DonaldtAg说道:

    canada pharmacy coupon: cheapest pharmacy for prescriptions without insurance – canada pharmacy not requiring prescription

  28. DonaldtAg说道:

    indian pharmacy online: online pharmacy india – india online pharmacy

  29. Felipelam说道:

    http://pharmcanada.shop/# legit canadian pharmacy online

  30. Felipelam说道:

    http://pharmcanada.shop/# my canadian pharmacy

  31. DavidTaK说道:

    canadian drug prices cross border pharmacy canada canadian pharmacy no scripts

  32. Williamfug说道:

    discount prescription drugs canada: medication online without prescription – canadian prescription prices

  33. Tylerreunk说道:

    https://levitrav.store/# Buy Levitra 20mg online

  34. Charlesvox说道:

    http://kamagra.win/# cheap kamagra

  35. Charlesvox说道:

    https://cenforce.pro/# cenforce.pro

  36. Elmersoalf说道:

    cheapest cenforce order cenforce Cenforce 100mg tablets for sale

  37. Jamesexite说道:

    Cialis 20mg price: buy cialis online – Buy Tadalafil 10mg

  38. Georgefrege说道:

    sildenafil oral jelly 100mg kamagra: kamagra.win – Kamagra tablets

  39. Georgefrege说道:

    Buy Cenforce 100mg Online: Cenforce 100mg tablets for sale – cenforce for sale

  40. DavidBiolo说道:

    https://levitrav.store/# Buy Vardenafil 20mg online

  41. Elmersoalf说道:

    Vardenafil price Cheap Levitra online Levitra generic best price

  42. Jamesexite说道:

    Cialis over the counter: Generic Cialis without a doctor prescription – Cialis over the counter

  43. Charlesvox说道:

    http://viagras.online/# cheapest viagra

  44. Jamesexite说道:

    Cheap Levitra online: Levitra 20mg price – Levitra online pharmacy

  45. Charlesvox说道:

    https://levitrav.store/# Buy Vardenafil 20mg online

  46. Elmersoalf说道:

    Cheap generic Viagra online Buy generic 100mg Viagra online Buy Viagra online cheap

  47. Charlesvox说道:

    https://levitrav.store/# Cheap Levitra online

  48. DavidBiolo说道:

    https://kamagra.win/# buy Kamagra

  49. Elmersoalf说道:

    Levitra 20 mg for sale Buy Vardenafil 20mg Levitra online pharmacy

回复 Charlesvox 取消回复

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