I start my web server as web service on Windows XP. How it was done is described here
My web server is coded in ruby/sinatra and I start it
C:\Ruby187\bin\ruby c:\web\web2.rb. That code the service too. Manually I stop the web server by pressing CTRL+C in the dos window if started from command line.
I admit that my ruby code is not 'specially written software' to be a service. But I'd like to know if I can shut it down somehow when I click stop button to this service.
How can I stop the server now as it started via service? I found out that I can stop it via
taskkill /f /t /im ruby.exe
Is there any way I can use the MMC stop service function to stop the web server?
I call the web server directly like shown in the picture click here to read the text in the picture.