Add preliminary for healthcheck

This commit is contained in:
Leopere 2018-11-06 19:13:22 -05:00
parent 3308978eef
commit f431dc9f9c
No known key found for this signature in database
GPG key ID: 64476C903E477CCB

4
lbrycrd/healthcheck.sh Executable file
View 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