aboutsummarylogtreecommitdiffstats
path: root/ib-gw.conf
diff options
context:
space:
mode:
authorBen Alex2018-05-08 06:51:00 +1000
committerBen Alex2018-05-08 06:51:00 +1000
commit6c3bc49d4e0cc6b16c77080d357adafa584a595c (patch)
treec8830548fe0b115a2f740895d1f620fc856434d7 /ib-gw.conf
parent5611e2b4581889ea4e1cf265f34e81dd3fcd2dd7 (diff)
downloadaur-6c3bc49d4e0cc6b16c77080d357adafa584a595c.tar.gz
Allow user customisation of startup parameters
Diffstat (limited to 'ib-gw.conf')
-rw-r--r--ib-gw.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/ib-gw.conf b/ib-gw.conf
new file mode 100644
index 000000000000..b4b583682524
--- /dev/null
+++ b/ib-gw.conf
@@ -0,0 +1,14 @@
+# System-wide config. To change these values per-user create a file at:
+# $HOME/.config/ib-gw.conf and set only the values you want to change there.
+#
+# In a per-user file you can also append to these flags like this:
+# ex: JAVA_UI_FLAGS="$JAVA_UI_FLAGS -Dsome_extra_flag"
+#
+# Or to the full set of JAVA_FLAGS like this:
+# ex: JAVA_FLAGS="$JAVA_FLAGS -SomeOtherFlag"
+
+IB_CONFIG_DIR=$HOME/.ib-tws
+JAVA_XMX="-Xmx512m"
+JAVA_UI_FLAGS="-Dsun.java2d.noddraw=true"
+JAVA_EXTRA_FLAGS=
+JAVA_FLAGS="$JAVA_XMX $JAVA_UI_FLAGS $JAVA_EXTRA_FLAGS"