citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit fd96d1bfcfadfdfefbcf028f2024325739b5bacd
parent 49d6fab7e2508a6581860b39dd8c0841a9209ff5
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 24 May 2021 14:37:10 -0700

bcli: quiver helper

Diffstat:
Mbin/bcli | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/bin/bcli b/bin/bcli @@ -1,2 +1,8 @@ #!/usr/bin/env sh +if [ $(hostname) == "monad" ] +then exec bitcoin-cli -rpcuser=rpcuser -rpcpassword=rpcpass -datadir=/zbig/bitcoin "$@" +else +ssh monad bitcoin-cli -rpcuser=rpcuser -rpcpassword=rpcpass -datadir=/zbig/bitcoin "$@" +fi +