diff options
-rw-r--r-- | config/shepherd/init.d/cardano.scm | 17 |
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 |