aboutsummarylogtreecommitdiffstats
path: root/ibcontroller@.service
diff options
context:
space:
mode:
authorBen Alex2017-07-22 10:40:38 +1000
committerBen Alex2017-07-22 10:40:38 +1000
commitc7f23a907409c51ddf32db857453ff9dbf8df6f6 (patch)
treeacdf9c13cca6b97f292f91c167898d13f8f158f0 /ibcontroller@.service
parent2f00267512e52ed52a421dcf736b40a27d6da63b (diff)
downloadaur-c7f23a907409c51ddf32db857453ff9dbf8df6f6.tar.gz
Update to IBController 3.4.2
This follows https://github.com/ib-controller/ib-controller/issues/155 being resolved
Diffstat (limited to 'ibcontroller@.service')
-rw-r--r--ibcontroller@.service2
1 files changed, 0 insertions, 2 deletions
diff --git a/ibcontroller@.service b/ibcontroller@.service
index 7bfc20a908fe..865445055ebc 100644
--- a/ibcontroller@.service
+++ b/ibcontroller@.service
@@ -11,8 +11,6 @@ Group=root
KillMode=control-group
ExecStartPre=/bin/sh -c "mkdir -p /var/run/xvfb"
-ExecStartPre=/bin/sh -c "mkdir -p $(grep -e '^IbDir=' /etc/ibcontroller/%I.ini | tr -cd '\040-\176' | cut -d '=' -f 2)"
-ExecStartPre=/bin/sh -c "echo -e '[IBGateway]\nApiOnly=true" > $(grep -e '^IbDir=' /etc/ibcontroller/%I.ini | tr -cd '\040-\176' | cut -d '=' -f 2)/tws.ini"
ExecStart=/usr/sbin/xvfb-run --auto-servernum -f /var/run/xvfb/%I /usr/share/ib-tws/jre/bin/java -cp /usr/share/ib-tws/jars/*:/usr/share/java/ibcontroller/ibcontroller.jar -Xmx512M ibcontroller.IBGatewayController /etc/ibcontroller/%I.ini
[Install]