Skip to content

Commit

Permalink
make sure we run in headless mode
Browse files Browse the repository at this point in the history
applies mainly to the attachments (tika) plugin
  • Loading branch information
kimchy committed Jun 14, 2012
1 parent 133bd72 commit d5b84bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/elasticsearch.in.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ fi
# reduce the per-thread stack size
JAVA_OPTS="$JAVA_OPTS -Xss256k"

# set to headless, just in case
JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"

# Force the JVM to use IPv4 stack
# JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"

Expand Down

0 comments on commit d5b84bb

Please sign in to comment.