Module W32Support
In: lib/mongrel_config/win32.rb

Simply abstracts the common stuff that the config tool needs to do when dealing with Win32. It is a very thin wrapper which may expand later.

Methods

delete   display   do_and_wait   list   start   status   stop  

Public Class methods

Deletes the service from the system. It first tries to stop the service, and if you pass in a block it will call it while the service is being stopped.

Just gets the display name of the service.

Performs one operations (like :start or :start) which need to be "monitored" until they’re done. The wait_for parameter should be a regex for the content of the status like /running/ or /stopped/

Lists all of the services that have "mongrel" in the binary_path_name of the service. This detects the mongrel services.

Starts the requested service and calls a passed in block until the service is done. You should sleep for a short period until it’s done or there’s an exception.

Returns the current_state field of the service.

Stops the service. Just like W32Support.start is will call a block while it checks for the service to actually stop.

[Validate]