diff options
author | Max Rees <maxcrees@me.com> | 2020-04-14 19:01:17 -0500 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2020-05-01 06:53:19 -0500 |
commit | fe8c0a5d888110ad5015e3efff2159b999bcfea5 (patch) | |
tree | 276946517a59913accc50535202813faf0adaaeb /user/davmail/davmail.sh | |
parent | ddab973f7c870f6140ed1144671a453ad3fc850d (diff) | |
download | packages-fe8c0a5d888110ad5015e3efff2159b999bcfea5.tar.gz packages-fe8c0a5d888110ad5015e3efff2159b999bcfea5.tar.bz2 packages-fe8c0a5d888110ad5015e3efff2159b999bcfea5.tar.xz packages-fe8c0a5d888110ad5015e3efff2159b999bcfea5.zip |
user/davmail: new package
Diffstat (limited to 'user/davmail/davmail.sh')
-rwxr-xr-x | user/davmail/davmail.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user/davmail/davmail.sh b/user/davmail/davmail.sh new file mode 100755 index 000000000..17c5cd45e --- /dev/null +++ b/user/davmail/davmail.sh @@ -0,0 +1,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 "$@" |