Sha256: 488f94b49738a408021a4d1d99b63684baa74acc4ec835b3f845de0ae261addd
Contents?: true
Size: 511 Bytes
Versions: 3
Compression:
Stored size: 511 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'uzuuzu' require __DIR__('../app') app = UzuUzu::app app = Rack::CommonLogger.new(app, UzuUzu.logger) app = Rack::ShowStatus.new(app) app = Rack::ConditionalGet.new(app) app = Rack::ETag.new(app) app = Rack::Head.new(app) Rack::Handler::FastCGI.run app do |server| [:INT, :TERM].each do |signal| trap(signal) do if server.respond_to?(:stop!) server.stop! elsif server.respond_to?(:stop) server.stop end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uzuuzu-0.0.6 | template/public/dispatch.fcgi |
uzuuzu-0.0.5 | template/public/dispatch.fcgi |
uzuuzu-0.0.4 | template/public/dispatch.fcgi |