summarylogtreecommitdiffstats
path: root/ibcontroller@.service
blob: 33cd3d4df4a8333b1bb0b19a484783e357ae1236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=IBController
After=network.target

[Service]
Type=simple
TimeoutSec=0
User=root
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/jts.jar:/usr/share/java/ib-tws/total.jar:/usr/share/java/ibcontroller/ibcontroller.jar -Xmx512M ibcontroller.IBGatewayController /etc/ibcontroller/%I.ini

[Install]
WantedBy=multi-user.target