diff options
author | Ben Alex | 2017-07-20 09:50:20 +1000 |
---|---|---|
committer | Ben Alex | 2017-07-20 09:50:20 +1000 |
commit | 2f00267512e52ed52a421dcf736b40a27d6da63b (patch) | |
tree | 41d8418ca73ce7818706b15ed4a030871de19917 /ibcontroller@.service | |
parent | cd22f602e92fe6e905f3a46bf871eeec5daeb1eb (diff) | |
download | aur-2f00267512e52ed52a421dcf736b40a27d6da63b.tar.gz |
Release 3.4.0-2 to improve ibcontroller@.service
Diffstat (limited to 'ibcontroller@.service')
-rw-r--r-- | ibcontroller@.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ibcontroller@.service b/ibcontroller@.service index 9291ed04f0b0..7bfc20a908fe 100644 --- a/ibcontroller@.service +++ b/ibcontroller@.service @@ -11,8 +11,8 @@ 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 '\40-\176' | cut -d '=' -f 2)" -ExecStartPre=/bin/sh -c "echo -e '[IBGateway]\nApiOnly=true" > $(grep -e '^IbDir=' /etc/ibcontroller/%I.ini | tr -cd '\40-\176' | cut -d '=' -f 2)/tws.ini" +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] |