artifactory: remove options
This commit is contained in:
parent
09b6969874
commit
9a4e6941e3
1 changed files with 0 additions and 9 deletions
|
@ -6,8 +6,6 @@ class Artifactory < Formula
|
||||||
|
|
||||||
bottle :unneeded
|
bottle :unneeded
|
||||||
|
|
||||||
option "with-low-heap", "Run artifactory with low Java memory options. Useful for development machines. Do not use in production."
|
|
||||||
|
|
||||||
depends_on :java => "1.8+"
|
depends_on :java => "1.8+"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
@ -20,13 +18,6 @@ class Artifactory < Formula
|
||||||
'export ARTIFACTORY_HOME="$(cd "$(dirname "${artBinDir}")" && pwd)"',
|
'export ARTIFACTORY_HOME="$(cd "$(dirname "${artBinDir}")" && pwd)"',
|
||||||
"export ARTIFACTORY_HOME=#{libexec}"
|
"export ARTIFACTORY_HOME=#{libexec}"
|
||||||
|
|
||||||
if build.with? "low-heap"
|
|
||||||
# Reduce memory consumption for non production use
|
|
||||||
inreplace "bin/artifactory.default",
|
|
||||||
"-server -Xms512m -Xmx2g",
|
|
||||||
"-Xms128m -Xmx768m"
|
|
||||||
end
|
|
||||||
|
|
||||||
libexec.install Dir["*"]
|
libexec.install Dir["*"]
|
||||||
|
|
||||||
# Launch Script
|
# Launch Script
|
||||||
|
|
Loading…
Reference in a new issue