You have a few options for your situation:

1) check mongrel_service FreeBASIC code (which is the actual service)
and implement your own variation.
(willl take you some time)

2) look into options like svrany or firedaemon, which let you run
console applications as services.

3) http://github.com/raggi/ruby_service_helper/, and I recommend you also use http://github.com/raggi/rubyw_helper/, these work with win32- service-0.6.1. If you're on a mingw build of ruby, you may need to gem install --platform=x86-mswin32-60 win32-service first, as gcc can't deal with SEH.

The above provides something that's relatively easy to prototype, but also still mostly debuggable:

http://pastie.textmate.org/private/rsnvpy5eogjhicawttjgra (untested)

HTH
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to