Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 423 Bytes

README.textile

File metadata and controls

20 lines (10 loc) · 423 Bytes

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