Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 23603ad076 | |||
| 81fe6372e9 |
@@ -1,15 +1,30 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
usage() {
|
||||||
|
echo -n "Usage: ${0}"
|
||||||
|
echo -n " [-C <config (dflt: apps/cvtt_eqt_alpaca)>]"
|
||||||
|
echo -n " [-c <config_server (dflt: cloud23.cvtt.vpn:6789)>]"
|
||||||
|
echo -n " [-e <active_exchanges (ALPACA_SNBOX)>]"
|
||||||
|
echo -n " [-a <admin_port (7220)>]"
|
||||||
|
echo -n " [-n <portal_name (MD_PORTAL_ALPACA)>]"
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
args=${*}
|
args=${*}
|
||||||
|
|
||||||
|
Config=apps/cvtt_eqt_alpaca
|
||||||
ConfigServer=cloud23.cvtt.vpn:6789
|
ConfigServer=cloud23.cvtt.vpn:6789
|
||||||
ActiveExchanges=ALPACA_SNDBX
|
ActiveExchanges=ALPACA_SNDBX
|
||||||
PortalName=MD_PORTAL_ALPACA_SNDBX
|
PortalName=MD_PORTAL_ALPACA_SNDBX
|
||||||
AdminPort=7220
|
AdminPort=7220
|
||||||
|
|
||||||
|
while getopts ":C:c:e:a:n:" opt; do
|
||||||
while getopts ":c:e:a:n:" opt; do
|
|
||||||
case ${opt} in
|
case ${opt} in
|
||||||
|
C )
|
||||||
|
Config=$OPTARG
|
||||||
|
;;
|
||||||
c )
|
c )
|
||||||
ConfigServer=$OPTARG
|
ConfigServer=$OPTARG
|
||||||
;;
|
;;
|
||||||
@@ -33,6 +48,7 @@ while getopts ":c:e:a:n:" opt; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "Config=${Config}"
|
||||||
echo "ConfigServer=${ConfigServer}"
|
echo "ConfigServer=${ConfigServer}"
|
||||||
echo "ActiveExchanges=${ActiveExchanges}"
|
echo "ActiveExchanges=${ActiveExchanges}"
|
||||||
echo "PortalName=${PortalName}"
|
echo "PortalName=${PortalName}"
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ usage() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
args=${*}
|
||||||
|
|
||||||
ConfigServer=cloud23.cvtt.vpn:6789
|
ConfigServer=cloud23.cvtt.vpn:6789
|
||||||
ActiveExchanges=ALPACA_SNDBX-MDPORTAL
|
ActiveExchanges=ALPACA_SNDBX-MDPORTAL
|
||||||
AdminPort=7224
|
AdminPort=7224
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
1.5.8,added quant docker start script
|
1.5.9,md_portal uses different config
|
||||||
|
|||||||
Reference in New Issue
Block a user