Add preliminary for healthcheck
This commit is contained in:
parent
3308978eef
commit
f431dc9f9c
1 changed files with 4 additions and 0 deletions
4
lbrycrd/healthcheck.sh
Executable file
4
lbrycrd/healthcheck.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue