aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ccae711..ceefed7 100644
--- a/config/shepherd/init.d/cardano.scm
+++ b/config/shepherd/init.d/cardano.scm
@@ -73,6 +73,7 @@
(list (string-append (getenv "HOME") "/.cabal/bin/cardano-wallet")
"serve"
"+RTS" "-T" "-RTS"
+ "--port" "8092"
"--node-socket" (string-append db-dir "socket")
"--database" (string-append db-dir "wallet")
"--token-metadata-server" "https://metadata.cardano-testnet.iohkdev.io"
@@ -129,3 +130,19 @@
#:log-file "/tmp/mainnet-ssh.log")
#:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
#:respawn? #t))
+
+(register-services
+ (make <service>
+ #:docstring "Mainnet wallet"
+ #:provides '(mainnet-wallet)
+ #:start (make-forkexec-constructor
+ (list (string-append (getenv "HOME") "/.cabal/bin/cardano-wallet")
+ "serve"
+ "+RTS" "-T" "-RTS"
+ "--node-socket" "/tmp/alinamn.socket"
+ "--database" (string-append (getenv "HOME") "/test-cardano/main/wallet")
+ "--mainnet")
+ #:log-file (string-append (getenv "HOME") "/test-cardano/main/log/wallet.log"))
+
+ #:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
+ #:requires '(mainnet-node-ssh)))