message: Make `run-dev`'s secondary nodes depend on node-1 starting up
diff: @@ -17,16 +17,23 @@ run_node() {
  if [ $1 -ne 1 ]
  then
  BIND_ADDRESS_ARG=--config-ext=network.bind_address='0.0.0.0:0'
  + DEPS="--property=After=node-1.service --property=Requires=node-1.service"
  else
  BIND_ADDRESS_ARG=
  + DEPS=
  fi
  + # We run with a 10 minute timeout, to allow for compilation and loading.
  systemd-run \
  --user \
  --unit node-$ID \
  --description "Casper Dev Node ${ID}" \
  --collect \
  + --no-block \
  + --property=Type=notify \
  + --property=TimeoutSec=600 \
  --property=WorkingDirectory=${BASEDIR} \
  + $DEPS \
  --setenv=RUST_LOG=debug \
  --property=StandardOutput=file:${LOGFILE} \
  --property=StandardError=file:${LOGFILE}.stderr \
  @@ -34,6 +41,7 @@ run_node() {
  cargo run -p casper-node \
  validator \
  resources/local/config.toml \
  + --config-ext=network.systemd_support=true \
  --config-ext=consensus.secret_key_path=secret_keys/node-${ID}.pem \
  --config-ext=storage.path=${STORAGE_DIR} \
  --config-ext=network.gossip_interval=1000 \
  @@ -46,7 +54,7 @@ for i in 1 2 3 4 5; do
  run_node $i
  done;
  -echo "Test network started."
  +echo "Test network starting."
  echo
  echo "To stop all nodes, run"
  echo " systemctl --user stop node-\\*"
  