aboutsummaryrefslogblamecommitdiffstats
path: root/simulation/kubernetes/entrypoint.sh
blob: 3340f2d4a045e22b0131c06b0e1fb4f59581ec24 (plain) (tree)
1
2
3
4
5
6
7
8
9

         
                             


                                                          

                                                             
  
#!/bin/sh

if [ "$ROLE" = "node" ]; then
  exec ./dexcon-simulation -config config.toml
elif [ "$ROLE" = "peer-server" ]; then
  exec ./dexcon-simulation-peer-server -config config.toml
elif [ "$ROLE" = "scheduler" ]; then
  exec ./dexcon-simulation-with-scheduler -config config.toml
fi