Adding more comments
This commit is contained in:
parent
dc7317022e
commit
83ef420db9
1 changed files with 6 additions and 3 deletions
|
@ -10,12 +10,15 @@
|
||||||
## Ensure perms are correct prior to running main binary
|
## Ensure perms are correct prior to running main binary
|
||||||
chown -R 1000:1000 /data
|
chown -R 1000:1000 /data
|
||||||
chmod -R 755 /data
|
chmod -R 755 /data
|
||||||
chown -R 1000:1000 /etc/lbrycrd
|
|
||||||
chmod -R 755 /etc/lbrycrd
|
## TODO: Consider a config directory for future magic.
|
||||||
|
# chown -R 1000:1000 /etc/lbrycrd
|
||||||
|
# chmod -R 755 /etc/lbrycrd
|
||||||
rm -f /var/run/lbrycrd.pid
|
rm -f /var/run/lbrycrd.pid
|
||||||
mkdir -p ~/.lbrycrd
|
mkdir -p ~/.lbrycrd
|
||||||
|
|
||||||
## Set config params
|
## Set config params
|
||||||
|
## TODO: Make this more automagic in the future.
|
||||||
echo -e "rpcuser=lbryrpc\nrpcpassword=${RPC_PASSWORD:-changeme}" > $HOME/.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}" >> $HOME/.lbrycrd/lbrycrd.conf
|
echo -e "rpcallowip=${RPC_ALLOW_IP:-10.5.1.3}" >> $HOME/.lbrycrd/lbrycrd.conf
|
||||||
echo -e "rpcuser=${RPC_USER:-lbryrpc}" >> $HOME/.lbrycrd/lbrycrd.conf
|
echo -e "rpcuser=${RPC_USER:-lbryrpc}" >> $HOME/.lbrycrd/lbrycrd.conf
|
||||||
|
@ -45,7 +48,7 @@ case ${RUN_MODE:-default} in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
## TODO: Look into what we can do with these launch params
|
||||||
## We were unsure if these function as intended so they were disabled for the time being.
|
## We were unsure if these function as intended so they were disabled for the time being.
|
||||||
# -port=${PORT:-9246} \
|
# -port=${PORT:-9246} \
|
||||||
# -data=${DATA_DIR:-/data/} \
|
# -data=${DATA_DIR:-/data/} \
|
||||||
|
|
Loading…
Reference in a new issue