File: dispatch.fcgi

package info (click to toggle)
ruby-grack 2.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 188 kB
  • sloc: ruby: 566; sh: 41; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#! /usr/bin/env ruby
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
require 'lib/git_http'
config = {
  :project_root => "/opt",
  :upload_pack => true,
  :receive_pack => false,
}
Rack::Handler::FastCGI.run(GitHttp::App.new(config))