neo-go/.docker/privnet-entrypoint.sh
2020-01-13 17:58:12 +03:00

6 lines
156 B
Bash
Executable file

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