make sure we run in headless mode

applies mainly to the attachments (tika) plugin
This commit is contained in:
Shay Banon 2012-06-14 13:14:03 +02:00
parent 133bd72f8d
commit d5b84bb81b

View File

@ -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"