Method: Thin::Controllers::Service#initialize
- Defined in:
- lib/thin/controllers/service.rb
#initialize(options) ⇒ Service
Returns a new instance of Service.
12 13 14 15 16 |
# File 'lib/thin/controllers/service.rb', line 12 def initialize() super raise PlatformNotSupported, 'Running as a service only supported on Linux' unless Thin.linux? end |