Ruby Windows Service Example
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.textile
register_ruby_service_example.rb
ruby_example_service.rb

README.textile

Ruby Windows Service Example

Example of how to run ruby code as a windows service

Prerequisites

For the serivce and daemon functionality

gem install win32-service win32-daemon

For the example sinatra app

gem install rack sinatra

To install the service

This will install the windows service. Open up register_ruby_service_example.rb to change the service name

ruby register_ruby_service_example.rb