neoneo-go/.docker/privnet-entrypoint.sh

7 lines
171 B
Bash
Raw Normal View History

#!/bin/sh
if test -f /6000-privnet-blocks.acc.gz; then
gunzip /6000-privnet-blocks.acc.gz
/usr/bin/neo-go db restore -i /6000-privnet-blocks.acc
fi
/usr/bin/neo-go "$@"