]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/passenger/templates/default/ruby.erb
Move passenger configuration to a separate cookbook
[chef.git] / cookbooks / passenger / templates / default / ruby.erb
diff --git a/cookbooks/passenger/templates/default/ruby.erb b/cookbooks/passenger/templates/default/ruby.erb
new file mode 100644 (file)
index 0000000..4d96220
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+export RUBY_HEAP_MIN_SLOTS=500000
+export RUBY_HEAP_FREE_MIN=100000
+export RUBY_GC_MALLOC_LIMIT=50000000
+
+exec /usr/bin/ruby<%= node[:passenger][:ruby_version] %> "$@"