blob: 17c5cd45e3436a9008387aecb88dba19a1d3c216 (
plain) (
blame)
1
2
3
4
5
6
7
|
#!/bin/sh -e
# Usage: davmail [</path/to/davmail.properties>]
# force GTK2 to avoid crash with OpenJDK 11
JAVA_OPTS="-Xmx512M -Dsun.net.inetaddr.ttl=60 -Djdk.gtk.version=2.2"
JAVA_CP="/usr/lib/java/davmail/lib/*"
exec java $JAVA_OPTS -cp "$JAVA_CP" davmail.DavGateway "$@"
|