Lets try $HOME/ instead of ~/

This commit is contained in:
Leopere 2018-11-06 18:24:47 -05:00
parent 03e5bb494f
commit b430ed411d
No known key found for this signature in database
GPG key ID: 64476C903E477CCB

View file

@ -16,9 +16,9 @@ rm -f /var/run/lbrycrdd.pid
mkdir -p ~/.lbrycrd mkdir -p ~/.lbrycrd
## Set config params ## Set config params
echo -e "rpcuser=lbryrpc\nrpcpassword=${RPC_PASSWORD:-changeme}" > ~/.lbrycrd/lbrycrd.conf echo -e "rpcuser=lbryrpc\nrpcpassword=${RPC_PASSWORD:-changeme}" > $HOME/.lbrycrd/lbrycrd.conf
echo -e "rpcallowip=${RPC_ALLOW_IP:-10.5.1.3}" >> ~/.lbrycrd/lbrycrd.conf echo -e "rpcallowip=${RPC_ALLOW_IP:-10.5.1.3}" >> $HOME/.lbrycrd/lbrycrd.conf
echo -e "rpcuser=${RPC_USER:-lbryrpc}" >> ~/.lbrycrd/lbrycrd.conf echo -e "rpcuser=${RPC_USER:-lbryrpc}" >> $HOME/.lbrycrd/lbrycrd.conf
## Control this invocation through envvar. ## Control this invocation through envvar.
case ${RUN_MODE:-default} in case ${RUN_MODE:-default} in