dynamodb-local: fix wrapper to exec java
This is more efficient and allows dynamodb-local to be controlled by managers like Supervisor which do not play well with java launched as a subprocess.
This commit is contained in:
parent
017225a955
commit
e50c042c2e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class DynamodbLocal < Formula
|
|||
|
||||
def bin_wrapper; <<-EOS.undent
|
||||
#!/bin/sh
|
||||
cd #{data_path} && java -Djava.library.path=#{libexec}/DynamodbLocal_lib -jar #{libexec}/DynamoDBLocal.jar "$@"
|
||||
cd #{data_path} && exec java -Djava.library.path=#{libexec}/DynamodbLocal_lib -jar #{libexec}/DynamoDBLocal.jar "$@"
|
||||
EOS
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue