Topic: Restart web server

In my app I need to restart the application if some configuration options are changed.  When running with Apache2/Passenger it is easy to do a restart, just touch tmp/restart.txt. 

The system also has to run on servers on Windows.  Is there any way to accomplish the same type of restart in Mongrel or Thin?

Thanks for the help