mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +00:00
16 lines
285 B
Bash
16 lines
285 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
trap 'kill $(jobs -p)' SIGINT SIGTERM EXIT
|
|
export CAPSULE_CACHE_DIR=cache
|
|
pushd nameserver
|
|
( java -jar JAR_NAME )&
|
|
popd
|
|
pushd nodea
|
|
( java -jar JAR_NAME )&
|
|
popd
|
|
pushd nodeb
|
|
( java -jar JAR_NAME )&
|
|
popd
|
|
read -p 'Any key to exit'
|
|
kill $(jobs -p)
|