File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11class DjlServing < Formula
22 desc "This module contains an universal model serving implementation"
33 homepage "https://github.com/deepjavalibrary/djl-serving"
4- url "https://publish.djl.ai/djl-serving/serving-0.33 .0.tar"
5- sha256 "48326bdeacba973ac54d8f07e22b6be0a0edafe2e1377d7031665d5efe726691 "
4+ url "https://publish.djl.ai/djl-serving/serving-0.34 .0.tar"
5+ sha256 "adabd4af596b278ecf890074825b480a11983751a8eaa9e1e22c94d93a18982a "
66 license "Apache-2.0"
77
88 # `djl-serving` versions aren't considered released until a corresponding
@@ -13,7 +13,7 @@ class DjlServing < Formula
1313 end
1414
1515 bottle do
16- sha256 cellar : :any_skip_relocation , all : "9d0f31ed27572681ddd8cc68ecb6396fd1697ad89cd56bec21fa22f8f3017a38 "
16+ sha256 cellar : :any_skip_relocation , all : "a9fc595bce39f3c224d4b3e20ff06fbb3ca8e0a0706a6b2cacb2c95db088d673 "
1717 end
1818
1919 depends_on "openjdk"
@@ -23,13 +23,14 @@ def install
2323 rm_r ( Dir [ "bin/*.bat" ] )
2424 mv "bin/serving" , "bin/djl-serving"
2525 libexec . install Dir [ "*" ]
26- env = { MODEL_SERVER_HOME : "${MODEL_SERVER_HOME:-#{ var } }" }
26+ env = { MODEL_SERVER_HOME : "${MODEL_SERVER_HOME:-#{ var } /djl-serving }" }
2727 env . merge! ( Language ::Java . overridable_java_home_env )
2828 ( bin /"djl-serving" ) . write_env_script "#{ libexec } /bin/djl-serving" , env
2929 end
3030
3131 service do
3232 run [ opt_bin /"djl-serving" , "run" ]
33+ working_dir var /"djl-serving"
3334 keep_alive true
3435 end
3536
You can’t perform that action at this time.
0 commit comments