Sha256: 2fc46f8201dd2afdcfb6fcebd07b8a1d4f32fda5f91c8db7400c6ce2b9b3e78b
Contents?: true
Size: 758 Bytes
Versions: 26
Compression:
Stored size: 758 Bytes
Contents
#!/bin/bash function start_node { mkdir $1 cd $1 zold remote clean zold node $3 --nohup --nohup-command='touch restarted' --nohup-log=log \ --expose-version=$2 --save-pid=pid --routine-immediately \ --verbose --trace --invoice=NOPREFIX@ffffffffffffffff \ --host=localhost --port=$1 --bind-port=$1 --threads=0 > /dev/null 2>&1 wait_for_port $1 cat pid cd .. } high=$(reserve_port) primary=$(start_node ${high} 9.9.9 --standalone) low=$(reserve_port) secondary=$(start_node ${low} 1.1.1) zold remote add localhost ${high} --home=${low} --skip-ping trap "kill -9 ${primary} ${secondary}" EXIT wait_for_file ${low}/restarted echo "High node logs (port ${high}):" cat ${high}/log echo "Low node logs (port ${low}):" cat ${low}/log
Version data entries
26 entries across 26 versions & 1 rubygems