lbry-docker/lbrycrd/healthcheck.sh
2018-11-06 19:13:22 -05:00

4 lines
235 B
Bash
Executable file

## TODO: Implement a healthcheck for lbrycrd.
curl --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getinfo","params":[]}' -H 'content-type:text/plain;' http://$RPC_USER:$RPC_PASSWORD@127.0.0.1:9246
## OR
lbrycrd-cli getinfo