1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-12 10:42:21 -05:00
davmail/davmail.sh
mguessan 94c5256100 Improve DavMail shell scripts
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2113 3d1905a2-6b24-0410-a738-b14d5a86fcbd
2013-05-11 19:45:17 +00:00

9 lines
289 B
Bash

#!/bin/sh
# Ubuntu setup instructions :
# install java :
# sudo apt-get install default-jre
# launch davmail
BASE=`dirname $0`
for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done
exec java -Xmx512M -Dsun.net.inetaddr.ttl=60 -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1