mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-03 22:32:19 -05:00
Improve DavMail shell scripts
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2113 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
d6c567001d
commit
94c5256100
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
# Ubuntu setup instructions :
|
||||
# install java :
|
||||
# sudo apt-get install sun-java6-bin
|
||||
# launch davmail :
|
||||
# sudo apt-get install default-jre
|
||||
# launch davmail
|
||||
BASE=`dirname $0`
|
||||
for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done
|
||||
java -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1
|
||||
exec java -Xmx512M -Dsun.net.inetaddr.ttl=60 -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Usage: davmail [</path/to/davmail.properties>]
|
||||
#
|
||||
export LD_LIBRARY_PATH=/usr/lib/jni
|
||||
for i in /usr/share/davmail/lib/*; do export CLASSPATH=$CLASSPATH:$i; done
|
||||
java -Xmx512M -cp /usr/share/davmail/davmail.jar:/usr/share/java/swt.jar:$CLASSPATH davmail.DavGateway "$@"
|
||||
exec java -Xmx512M -Dsun.net.inetaddr.ttl=60 -cp /usr/share/davmail/davmail.jar:/usr/share/java/swt.jar:$CLASSPATH davmail.DavGateway "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user