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

/ 10,544评论 / 40622阅读 / 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. ThomasInace说道:

    https://clomiddelivery.pro/# order cheap clomid pills

  2. Jamesjer说道:

    doxycycline 100 mg capsule: doxycycline capsules india – canadian pharmacy doxycycline

  3. iptv说道:

    This excellent website certainly has all of the information I wanted about this subject and didn’t know who to ask.

  4. Jamesjer说道:

    ciprofloxacin 500mg buy online: ciprofloxacin – ciprofloxacin 500 mg tablet price

  5. iptv说道:

    Having read this I believed it was very informative. I appreciate you spending some time and energy to put this information together. I once again find myself spending a lot of time both reading and leaving comments. But so what, it was still worthwhile.

  6. Lariortkq说道:

    Официальная покупка диплома вуза с сокращенной программой в Москве
    ast-diploms24.ru/kupit-diplom-moskva

  7. ThomasInace说道:

    http://paxloviddelivery.pro/# Paxlovid over the counter

  8. Cazrwca说道:

    Привет, друзья!
    Мы предлагаем документы техникумов, которые находятся в любом регионе России. Можно приобрести качественно сделанный диплом от любого учебного заведения, за любой год, включая сюда документы старого образца СССР. Документы выпускаются на бумаге самого высшего качества. Это позволяет делать настоящие дипломы, не отличимые от оригинала. Документы будут заверены всеми обязательными печатями и подписями.
    http://www.luckybookies.com/blogs/1119/%D0%94%D0%B5%D1%82%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5-%D0%BE%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5-%D0%BF%D1%80%D0%B8%D0%BE%D0%B1%D1%80%D0%B5%D1%82%D0%B5%D0%BD%D0%B8%D1%8F-%D0%B4%D0%B8%D0%BF%D0%BB%D0%BE%D0%BC%D0%B0-%D0%B2-%D0%B7%D0%BD%D0%B0%D0%BC%D0%B5%D0%BD%D0%B8%D1%82%D0%BE%D0%BC-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%BC%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD%D0%B5

  9. Yrefqcr说道:

    Привет, друзья!
    Купить диплом о высшем образовании.
    2016.goodboard.ru/viewtopic.php?id=204#p1443
    Удачи!

  10. Lazrrbu说道:

    Здравствуйте!
    Мы готовы предложить дипломы любой профессии по приятным тарифам.
    transad-advertising.com/купить-приложение-к-диплому/

  11. Hi there! This article could not be written any better! Looking through this post reminds me of my previous roommate! He continually kept talking about this. I am going to forward this post to him. Fairly certain he’ll have a great read. Thank you for sharing!

  12. Jeffreyquime说道:

    Manny Pacquiao https://filipino-boxer.manny-pacquiao-ar.com is one of the most prominent boxers in the history of the sport.

  13. HerbertSed说道:

    Muhammad Ali https://american-boxer.muhammad-ali-ar.com is perhaps one of the most famous and greatest athletes in the history of boxing.

  14. Mazrrgy说道:

    Здравствуйте!
    Можно ли купить аттестат о среднем образовании, основные моменты и вопросы
    mizunosoccershoesfans.com/read-blog/3329_gramotno-zakazyvaem-dokumenty-v-internete-avtorskij-obzor.html?mode=night

  15. Keithdoure说道:

    Mike Tyson https://american-boxer.mike-tyson-ar.com one of the most famous and influential boxers in history, was born on June 30, 1966 in Brooklyn, New York.

  16. Uazrymd说道:

    Привет, друзья!
    Где заказать диплом по актуальной специальности?
    postgresconf.org/users/jerome-farmer

  17. Cazrvyx说道:

    Привет, друзья!
    Мы можем предложить документы ВУЗов, которые находятся в любом регионе РФ. Можно купить качественный диплом за любой год, включая сюда документы СССР. Дипломы и аттестаты выпускаются на “правильной” бумаге высшего качества. Это дает возможности делать настоящие дипломы, не отличимые от оригиналов. Документы будут заверены всеми обязательными печатями и штампами.
    orqut.com//blogs/10168/%D0%9A%D0%B0%D0%BA-%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE-%D0%BD%D0%B5%D0%B4%D0%BE%D1%80%D0%BE%D0%B3%D0%BE-%D0%BA%D1%83%D0%BF%D0%B8%D1%82%D1%8C-%D0%B0%D1%82%D1%82%D0%B5%D1%81%D1%82%D0%B0%D1%82-%D0%B2-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%BC%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD%D0%B5

  18. лучшее порево онлайн besplatny-sex-online.ru .

  19. Jamesjer说道:

    doxycycline cream: doxycycline 75 mg coupon – order doxycycline no prescription

  20. ThomasInace说道:

    https://clomiddelivery.pro/# where can i get cheap clomid pill

  21. Xazrfjf说道:

    Привет!
    Процесс получения диплома стоматолога: реально ли это сделать быстро?
    arusak-diploms-srednee.ru/kupit-diplom-v-krasnoiarske

  22. Manrplm说道:

    Добрый день!
    Заказать документ о получении высшего образования
    asxdiplomik.com/kupit-diplom-o-srednem-obrazovanii

  23. Sazrnhq说道:

    Привет, друзья!
    Всё, что нужно знать о покупке аттестата о среднем образовании без рисков
    odinzovo.rusff.me/viewtopic.php?id=4869#p8228
    Всегда вам поможем!

  24. Diplomi_bjst说道:

    купить диплом в нальчике diploms-x.com .

  25. ThomasInace说道:

    https://ciprodelivery.pro/# ciprofloxacin order online

  26. Jamesjer说道:

    can i order cheap clomid without rx: generic clomid without prescription – where to buy cheap clomid without prescription

  27. ngentot memek说道:

    Spot on with this write-up, I actually think this amazing site needs much more attention. I’ll probably be returning to see more, thanks for the info!

  28. ThomasInace说道:

    https://ciprodelivery.pro/# ciprofloxacin generic

  29. Lazrexi说道:

    Здравствуйте!
    Заказать диплом о высшем образовании.
    vocal.com.ua/node/62301

  30. Lariorytj说道:

    Как официально приобрести аттестат 11 класса с минимальными затратами времени
    ast-diplomas.com/kupit-diplom-o-srednem-obrazovanii

  31. Sazroqj说道:

    Здравствуйте!
    Приобретение диплома ВУЗа с сокращенной программой обучения в Москве
    newnormalnetwork.me/create-blog
    Всегда вам поможем!

  32. ThomasInace说道:

    https://paxloviddelivery.pro/# buy paxlovid online

  33. Lazrgep说道:

    Привет, друзья!
    Где приобрести диплом по нужной специальности?
    Купить диплом о высшем образовании.
    formfinance.ru/legkiy-sposob-poluchit-diplom-lyuboy-professii

  34. BryanScath说道:

    Michael Jordan https://chicago-bulls.michael-jordan-ar.com is one of the greatest basketball players of all time, whose career with the Chicago Bulls is legendary.

  35. Treftto说道:

    Привет!
    Рекомендации по безопасной покупке диплома о высшем образовании
    smol-sport22.ru/index.php?subaction=userinfo&user=ajivus
    Будем рады вам помочь!.

  36. Stevennup说道:

    спальня дизайн интерьера https://dizayn-interera-doma.ru

  37. Jamesjer说道:

    get cheap clomid without a prescription: where to buy cheap clomid without insurance – where can i buy cheap clomid

  38. Edwinimale说道:

    The Formula One World Championship https://world-circuit-racing-championship.formula-1-ar.com, known as the Formula Championship in motor racing, is the highest tier of professional motor racing.

  39. ChrisWap说道:

    After some difficult years in the late 2010s, Manchester United https://england.manchester-united-ar.com returned to greatness in English football by 2024.

  40. Dnrtfhd说道:

    Добрый день!
    Купить документ о получении высшего образования можно в нашем сервисе.
    ast-diplomas24.ru/kupit-diplom-nizhnij-novgorod
    Успехов в учебе!

  41. ThomasInace说道:

    https://amoxildelivery.pro/# purchase amoxicillin 500 mg

  42. Lazrdxs说道:

    Добрый день!
    Приобрести диплом о высшем образовании.
    c99596qr.beget.tech/2024/07/04/kak-podyskat-nadezhnyy-onlayn-magazin-s-obshirnym-vyborom-diplomov.html

发表回复

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