summarylogtreecommitdiffstats
path: root/cryptomator.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cryptomator.sh')
-rw-r--r--cryptomator.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/cryptomator.sh b/cryptomator.sh
index bc679567bac..6c3443f7227 100644
--- a/cryptomator.sh
+++ b/cryptomator.sh
@@ -1,3 +1,8 @@
#!/bin/sh
export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
-exec /usr/bin/java -jar '/usr/share/java/cryptomator/cryptomator.jar' "$@"
+exec /usr/bin/java \
+ -Xmx512m \
+ -Dcryptomator.logPath=~/.Cryptomator/cryptomator.log \
+ -Dcryptomator.upgradeLogPath=~/.Cryptomator/upgrade.log \
+ -Dcryptomator.settingsPath=~/.Cryptomator/settings.json \
+ -jar /usr/share/java/cryptomator/cryptomator.jar "$@"