diff options
| author | David Szotten | 2013-11-08 09:19:50 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-11-08 09:54:24 +0000 |
| commit | 8724154cbacb5b5bdd5e0c041ffdb6f2ddec5b0d (patch) | |
| tree | 891b10f60d640a56cbb1f8e5379fc346ced7cd47 /Library | |
| parent | 87727d6318edb57ae9e4f83c0ddf697780212151 (diff) | |
| download | homebrew-8724154cbacb5b5bdd5e0c041ffdb6f2ddec5b0d.tar.bz2 | |
neo4j: better headless mode
neo4j server by defaults opens an empty java gui which does nothing
beyond stealing focus. there's no need for this, so turn it off
Closes #24077.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/neo4j.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/neo4j.rb b/Library/Formula/neo4j.rb index 1f6b723be..96d59f33f 100644 --- a/Library/Formula/neo4j.rb +++ b/Library/Formula/neo4j.rb @@ -28,6 +28,9 @@ class Neo4j < Formula # Adjust UDC props open("#{libexec}/conf/neo4j-wrapper.conf", 'a') { |f| f.puts "wrapper.java.additional.4=-Dneo4j.ext.udc.source=homebrew" + + # suppress the empty, focus-stealing java gui + f.puts "wrapper.java.additional=-Djava.awt.headless=true" } end |
