Skip to content
Snippets Groups Projects
Commit 064e8706 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Merge branch 'master' of github.com:tarantool/tarantool

parents 43680f9f ba1ca1e8
No related branches found
No related tags found
No related merge requests found
...@@ -72,11 +72,11 @@ class Tarantool < Formula ...@@ -72,11 +72,11 @@ class Tarantool < Formula
else else
doc.install "test/box/box.lua" doc.install "test/box/box.lua"
inreplace doc/"box.lua" do |s| inreplace doc/"box.lua" do |s|
s.gsub!(/^os = require.*\n/ , '') s.gsub!(/^os = require.*\n/ , '')
s.gsub!(/(primary_port\s*=).*/, '\1 3301,') s.gsub!(/os.getenv\("LISTEN"\)/, '3301')
s.gsub!(/(admin_port\s*=).*/ , '\1 3313,') s.gsub!(/os.getenv\('ADMIN'\)/ , '3313')
s.gsub!(/(rows_per_wal.*)/ , '\1,') s.gsub!(/(rows_per_wal\s*=).*/ , '\1 500,')
s.gsub!(/^}.*/ , "\twork_dir\t\t\t= \"#{prefix}/var/lib/tarantool\",\n}") s.gsub!(/^}.*/ , "\twork_dir\t\t\t= \"#{prefix}/var/lib/tarantool\",\n}")
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment