aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/shepherd/init.d/bitcoin.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/shepherd/init.d/bitcoin.scm b/config/shepherd/init.d/bitcoin.scm
index 800ac9d..8cf5674 100644
--- a/config/shepherd/init.d/bitcoin.scm
+++ b/config/shepherd/init.d/bitcoin.scm
@@ -23,6 +23,7 @@
"--conf" "/home/titan/dev/bitcoin/electrs/testnet-conf.toml")
#:log-file "/tmp/electrs.log")
#:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
+ #:requires '(bitcoin-testnet)
#:respawn? #t))
(register-services
@@ -34,6 +35,7 @@
#:directory "/home/titan/dev/bitcoin/rust-bitcoin-indexer/"
#:log-file "/tmp/btc-indexer.log")
#:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
+ #:requires '(bitcoin-testnet)
#:respawn? #t))
(register-services
@@ -45,4 +47,5 @@
"--lnddir=/run/media/titan/ext_backup/personal/bitcoin/lnd/"
"--noseedbackup"))
#:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
+ #:requires '(bitcoin-testnet)
#:respawn? #t))