aboutsummaryrefslogtreecommitdiff
path: root/network/davmail/davmail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/davmail/davmail.sh')
-rw-r--r--network/davmail/davmail.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/network/davmail/davmail.sh b/network/davmail/davmail.sh
new file mode 100644
index 000000000000..c142f3fd2397
--- /dev/null
+++ b/network/davmail/davmail.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+DAVMAIL_HOME=/usr/share/java/davmail
+for name in $DAVMAIL_HOME/lib/*.jar ; do
+ CP=$CP:$name
+done
+CP=$CP:$DAVMAIL_HOME/davmail.jar
+exec "$JAVA_HOME/bin/java" -cp $CP 'davmail.DavGateway' "$@"