File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ IB_PATH=https://download2.interactivebrokers.com/installers/$PRODUCT/latest-stan
3434IBC_VERSION=3.8.5
3535IBC_PATH=https://github.com/IbcAlpha/IBC/releases/download/${IBC_VERSION} /IBCLinux-${IBC_VERSION} .zip
3636
37+ SIMPLE_MONITOR=https://github.com/ib-ruby/simple-monitor.git
38+
3739# # Täglicher Start von Gateway/TWS im crontab-Format (Minute Stunde)a
3840# # When to start Gateawy/TWS by cron
3941START_TIME=' 5 5'
Original file line number Diff line number Diff line change @@ -318,11 +318,12 @@ install_simple_monitor(){
318318 $access_container sudo apt-get install -y rvm elinks git tmux # vim
319319 $access_container sudo usermod -a -G rvm ubuntu
320320 $access_container rvm install $RUBY_VERSION
321- $access_container git clone https://github.com/ib-ruby/simple-monitor.git
322321 $access_container gem install bundler
322+ $access_container git clone $SIMPLE_MONITOR
323+
323324 lxc file push install_simple_monitor.sh $CONTAINER /home/ubuntu/
324325 if [ $DEMOACCOUNT -eq 0 ] ; then
325- $access_container sed -in ' s/:host: localhost/&:4001/g' /home/ubuntu/simple-monitor/tws_alias .yml
326+ $access_container sed -in ' s/:host: localhost/&:4001/g' /home/ubuntu/simple-monitor/config .yml
326327 fi
327328 $access_container ./install_simple_monitor.sh
328329 } >> $SILENT
@@ -418,7 +419,7 @@ setup_reverse_tunnel(){
418419
419420run_ats (){
420421 # starte die IB-Software
421- local access_container=" lxc exec $CONTAINER -- sudo --login --user ubuntu -- "
422+ local access_container=" lxc exec $CONTAINER -- sudo --login --user ubuntu --"
422423 $access_container /home/ubuntu/ibc/${INSTANCE} start.sh -inline &
423424 sleep 5
424425 $access_container /home/ubuntu/simple-monitor/start-simple-monitor
You can’t perform that action at this time.
0 commit comments