commit 20ccae770068f2b045e6cab91267a57019ff4f5d parent 9c67d5b56ae80920f0dc33b2fedaf1736dc3ccab Author: William Casarin <jb55@jb55.com> Date: Fri, 23 Apr 2021 12:06:02 -0700 quiver: remote lcli Diffstat:
M | bin/lcli | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/bin/lcli b/bin/lcli @@ -1,2 +1,7 @@ #!/usr/bin/env sh -exec $HOME/dev/github/ElementsProject/lightning/cli/lightning-cli --lightning-dir $HOME/.lightning-bitcoin "$@" +if [ $(hostname) == "monad" ]; +then + $HOME/dev/github/ElementsProject/lightning/cli/lightning-cli --lightning-dir $HOME/.lightning-bitcoin "$@" +else + ssh monad /home/jb55/bin/lcli "$@" +fi