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