aboutsummaryrefslogtreecommitdiffstats
path: root/config/shepherd
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-11-26 18:07:29 +0100
committerÓscar Nájera <hi@oscarnajera.com>2021-11-26 18:08:02 +0100
commit9fb1eb4318e838590386f1cb1d51d2c9dbe13b0e (patch)
treeb547a2cf9c9a01917214722310a981ef3feb9bda /config/shepherd
parent60dd84687fa80ca3e1e3ad8bb70403961f8c1e6d (diff)
downloaddotfiles-9fb1eb4318e838590386f1cb1d51d2c9dbe13b0e.tar.gz
dotfiles-9fb1eb4318e838590386f1cb1d51d2c9dbe13b0e.tar.bz2
dotfiles-9fb1eb4318e838590386f1cb1d51d2c9dbe13b0e.zip
cardano testnet wallet
Diffstat (limited to 'config/shepherd')
-rw-r--r--config/shepherd/init.d/cardano.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/shepherd/init.d/cardano.scm b/config/shepherd/init.d/cardano.scm
index f1980e0..6966e57 100644
--- a/config/shepherd/init.d/cardano.scm
+++ b/config/shepherd/init.d/cardano.scm
@@ -118,6 +118,23 @@
(register-services
(make <service>
+ #:docstring "Cardano Testnet wallet"
+ #:provides '(testnet-wallet)
+ #:start (make-forkexec-constructor
+ (list (string-append (getenv "HOME") "/.cabal/bin/cardano-wallet")
+ "serve"
+ "+RTS" "-T" "-RTS"
+ "--port" "8091"
+ "--node-socket" "/tmp/sarahtn.socket"
+ "--database" (string-append (getenv "HOME") "/test-cardano/testnet/wallet")
+ "--testnet" (string-append (getenv "HOME") "/test-cardano/config/testnet-byron-genesis.json"))
+ #:log-file (string-append (getenv "HOME") "/test-cardano/testnet/log/wallet.log"))
+
+ #:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
+ #:requires '(testnet-node-ssh)))
+
+(register-services
+ (make <service>
#:docstring "Cardano Main network ssh tunnel"
#:provides '(mainnet-node-ssh)
#:start (make-forkexec-constructor