You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
310 B

7 years ago
#!/bin/bash
DATA_DIR=/data
CONF=${DATA_DIR}/vertcoin.conf
if [ ! -e "${CONF}" ]; then
echo "disablewallet=1
printtoconsole=1
rpcport=8332
rpcallowip=::/0
rpcuser=rpc
rpcpassword=`dd if=/dev/urandom bs=18 count=1 2>/dev/null | base64`" > "${CONF}"
fi
exec vertcoind -datadir=${DATA_DIR} -conf=${CONF} "$@"