From 8724154cbacb5b5bdd5e0c041ffdb6f2ddec5b0d Mon Sep 17 00:00:00 2001 From: David Szotten Date: Fri, 8 Nov 2013 09:19:50 +0000 Subject: 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 --- Library/Formula/neo4j.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3