You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
CONFPATH=/home/crypto/dogecoin.conf
|
|
RPCUSER=${RPCUSER:-bobby}
|
|
RPCPASS=${RPCPASS:-propane}
|
|
|
|
sed -i -E "s/rpcuser=.+$/rpcuser=$RPCUSER/" $CONFPATH
|
|
sed -i -E "s/rpcpassword=.+$/rpcpassword=$RPCPASS/" $CONFPATH
|
|
|
|
exec sudo -Hu crypto dogecoind -conf=$CONFPATH
|
|
|