mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-04 06:42:20 -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 :
|
# Ubuntu setup instructions :
|
||||||
# install java :
|
# install java :
|
||||||
# sudo apt-get install sun-java6-bin
|
# sudo apt-get install default-jre
|
||||||
# launch davmail :
|
# launch davmail
|
||||||
BASE=`dirname $0`
|
BASE=`dirname $0`
|
||||||
for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done
|
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
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Usage: davmail [</path/to/davmail.properties>]
|
||||||
|
#
|
||||||
export LD_LIBRARY_PATH=/usr/lib/jni
|
export LD_LIBRARY_PATH=/usr/lib/jni
|
||||||
for i in /usr/share/davmail/lib/*; do export CLASSPATH=$CLASSPATH:$i; done
|
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