about summary refs log tree commit homepage
path: root/examples/git.ru
diff options
context:
space:
mode:
Diffstat (limited to 'examples/git.ru')
-rw-r--r--examples/git.ru9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/git.ru b/examples/git.ru
new file mode 100644
index 0000000..3762d3d
--- /dev/null
+++ b/examples/git.ru
@@ -0,0 +1,9 @@
+#\-E none
+require 'unicorn/app/inetd'
+
+use Rack::Lint
+use Rack::Chunked
+# run Unicorn::App::Inetd.new('tee', '/tmp/tee.out')
+run Unicorn::App::Inetd.new(
+ *%w(git daemon --verbose --inetd --export-all --base-path=/home/ew/unicorn)
+)