add checks for deps

This commit is contained in:
dni ⚡ 2023-11-14 10:44:51 +01:00
commit f2f806c518
No known key found for this signature in database
GPG key ID: 886317704CC4E618

View file

@ -65,6 +65,21 @@ connect_clightning_node() {
}
lnbits-regtest-start(){
if ! command -v jq &> /dev/null
then
echo "jq is not installed"
exit
fi
if ! command -v docker &> /dev/null
then
echo "docker is not installed"
exit
fi
if ! command -v docker version &> /dev/null
then
echo "dockerd is not running"
exit
fi
lnbits-regtest-stop
docker compose up -d --remove-orphans
lnbits-regtest-init