Skip to content

Commit 1e0a568

Browse files
committed
adapting simple-monitor setup to DEMOACCOUNT setting
1 parent c6eb1c7 commit 1e0a568

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,9 @@ install_simple_monitor(){
378378
$access_container git clone https://github.com/ib-ruby/simple-monitor.git
379379
$access_container gem install bundler
380380
lxc file push install_simple_monitor.sh $CONTAINER/home/ubuntu/
381+
if [ $DEMOACCOUNT -eq 0 ] ; then
382+
$access_container sed -in 's/:host: localhost/&:4001/g' /home/ubuntu/simple-monitor/tws_alias.yml
383+
fi
381384
$access_container ./install_simple_monitor.sh
382385
} >> $SILENT
383386
return 0

0 commit comments

Comments
 (0)