How to specify command line options for service in TopShelf

前端 未结 3 1446
予麋鹿
予麋鹿 2021-01-11 22:59

I am using command line arguments to pass some configuration to the windows service (it will be few instances with different command lines).

My code looks like this:

3条回答
  •  鱼传尺愫
    2021-01-11 23:28

    You can't easily do it at this point. I would review this thread on the mailing list

    https://groups.google.com/d/msg/topshelf-discuss/Xu4XR6wGWxw/GFzmKdn_MeYJ

提交回复
热议问题