From f431dc9f9c4fb0624546089aa7d5715a53495560 Mon Sep 17 00:00:00 2001 From: Leopere Date: Tue, 6 Nov 2018 19:13:22 -0500 Subject: [PATCH] Add preliminary for healthcheck --- lbrycrd/healthcheck.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 lbrycrd/healthcheck.sh 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