aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam2014-06-03 14:31:27 -0700
committerJack Nagel2014-06-03 20:03:19 -0500
commit04eb35a424604a930339b63e6ff94d58fa37f87e (patch)
tree3bbdd21d3c6e0f7c6450d7a2498e0ebb6e87720e /Library
parent9e2508cdb247f586a3d8944ed73c647b6a9756c0 (diff)
downloadhomebrew-04eb35a424604a930339b63e6ff94d58fa37f87e.tar.bz2
Hide zookeeper java process from the Dock
setting `SERVER_JVMFLAGS` to `-Dapple.awt.UIElement=true` will prevent the java process from showing up in the Dock. Closes #29835. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/zookeeper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/zookeeper.rb b/Library/Formula/zookeeper.rb
index 8e03041b4..6a2558aa9 100644
--- a/Library/Formula/zookeeper.rb
+++ b/Library/Formula/zookeeper.rb
@@ -134,6 +134,11 @@ class Zookeeper < Formula
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+ <key>EnvironmentVariables</key>
+ <dict>
+ <key>SERVER_JVMFLAGS</key>
+ <string>-Dapple.awt.UIElement=true</string>
+ </dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>