Try to use the RPC exit API to cleanly exit nodes

This commit is contained in:
Michael Vines
2019-03-04 15:53:18 -08:00
parent 0f77531f09
commit 3fc846d789
2 changed files with 23 additions and 0 deletions

View File

@ -53,6 +53,9 @@ while [[ ${1:0:1} = - ]]; do
elif [[ $1 = --blockstream ]]; then
extra_fullnode_args+=("$1" "$2")
shift 2
elif [[ $1 = --enable-rpc-exit ]]; then
extra_fullnode_args+=("$1")
shift
elif [[ $1 = --init-complete-file ]]; then
extra_fullnode_args+=("$1" "$2")
shift 2