artifactory: remove options

This commit is contained in:
FX Coudert 2018-11-02 00:09:39 +01:00
parent 09b6969874
commit 9a4e6941e3

View file

@ -6,8 +6,6 @@ class Artifactory < Formula
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+"
def install
@ -20,13 +18,6 @@ class Artifactory < Formula
'export ARTIFACTORY_HOME="$(cd "$(dirname "${artBinDir}")" && pwd)"',
"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["*"]
# Launch Script