diff --git a/lbrycrd/healthcheck.sh b/lbrycrd/healthcheck.sh new file mode 100755 index 0000000..ac4948f --- /dev/null +++ b/lbrycrd/healthcheck.sh @@ -0,0 +1,4 @@ +## 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