logstash6: fix startup due to unpatched shebangs
This commit is contained in:
parent
ae94825b4a
commit
baf5d4d537
@ -22,6 +22,9 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r {Gemfile*,modules,vendor,lib,bin,config,data,logstash-core,logstash-core-plugin-api} $out
|
cp -r {Gemfile*,modules,vendor,lib,bin,config,data,logstash-core,logstash-core-plugin-api} $out
|
||||||
|
|
||||||
|
patchShebangs $out/bin/logstash
|
||||||
|
patchShebangs $out/bin/logstash-plugin
|
||||||
|
|
||||||
wrapProgram $out/bin/logstash \
|
wrapProgram $out/bin/logstash \
|
||||||
--set JAVA_HOME "${jre}"
|
--set JAVA_HOME "${jre}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user