summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Alex2017-05-31 11:13:19 +1000
committerBen Alex2017-05-31 11:13:19 +1000
commitbea5ba864e0b4aa8239934bd304276750b038d7e (patch)
tree8d193a8d78473e4dc1a725f17afd164630607714
parent769211279bc5c5ff2ac00f76c59cc2e7b9ed2651 (diff)
downloadaur-bea5ba864e0b4aa8239934bd304276750b038d7e.tar.gz
Modifications to support ib-tws layout changes
-rw-r--r--PKGBUILD6
-rw-r--r--ibcontroller@.service2
2 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5696a213ea5..43041ba6546 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,15 @@
pkgname=ib-controller
pkgver=3.2.0
-pkgrel=2
+pkgrel=3
pkgdesc='Manages headless Interactive Brokers IB Gateway instances'
arch=('any')
url="https://github.com/ib-controller/ib-controller"
license=('GPL3')
depends=(ib-tws xorg-server-xvfb xorg-server gtk2 libxrender libxtst gsettings-desktop-schemas ttf-dejavu)
+backup=('etc/ibcontroller/fdemo.ini'
+ 'etc/ibcontroller/edemo.ini')
source=('https://github.com/ib-controller/ib-controller/releases/download/3.2.0/IBController-3.2.0.zip'
'fdemo.ini'
'edemo.ini'
@@ -16,7 +18,7 @@ source=('https://github.com/ib-controller/ib-controller/releases/download/3.2.0/
md5sums=('109bb4ae3adc8b640e8b245b149fc87f'
'15f1ba10df1fa29068630eeea9e72bfa'
'2a8c16170d102c855778921cd0391c19'
- '5eb11c510ae04ebc0617c29ac378c786')
+ 'f1038408283433b18a5cb39b30019fe6')
package() {
diff --git a/ibcontroller@.service b/ibcontroller@.service
index 1ff12a81cfb..865445055eb 100644
--- a/ibcontroller@.service
+++ b/ibcontroller@.service
@@ -11,7 +11,7 @@ Group=root
KillMode=control-group
ExecStartPre=/bin/sh -c "mkdir -p /var/run/xvfb"
-ExecStart=/usr/sbin/xvfb-run --auto-servernum -f /var/run/xvfb/%I java -cp /usr/share/java/ib-tws/*:/usr/share/java/ibcontroller/ibcontroller.jar -Xmx512M ibcontroller.IBGatewayController /etc/ibcontroller/%I.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]
WantedBy=multi-user.target