support any number of self-setup validators on a single host

This commit is contained in:
Rob Walker
2018-08-03 13:55:27 -07:00
parent 4aab413154
commit 19792192a7
3 changed files with 35 additions and 19 deletions

View File

@ -164,6 +164,7 @@ tune_networking() {
SOLANA_CONFIG_DIR=${SNAP_DATA:-$PWD}/config
SOLANA_CONFIG_PRIVATE_DIR=${SNAP_DATA:-$PWD}/config-private
SOLANA_CONFIG_CLIENT_DIR=${SNAP_USER_DATA:-$PWD}/config-client
SOLANA_CONFIG_VALIDATOR_DIR=${SNAP_USER_DATA:-$PWD}/config-validator
rsync_url() { # adds the 'rsync://` prefix to URLs that need it
declare url="$1"