lbry-docker/lbrycrd/stuff/healthcheck.sh

5 lines
235 B
Bash
Raw Permalink Normal View History

2018-11-07 01:13:22 +01:00
## 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