From 94dc1300afc815303494bfbf75d583cd2cfb9ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Thu, 7 Jul 2022 00:48:46 +0200 Subject: cardano new namespace and services --- config/shepherd/init.d/cardano.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'config/shepherd') diff --git a/config/shepherd/init.d/cardano.scm b/config/shepherd/init.d/cardano.scm index 0cdbb06..3c891b8 100644 --- a/config/shepherd/init.d/cardano.scm +++ b/config/shepherd/init.d/cardano.scm @@ -134,6 +134,21 @@ #:requires '(vasil-bp) #:respawn? #t)) +(register-services + (make + #:docstring "Cardano Vasil cncli sync" + #:provides '(vasil-cncli-sync) + #:start (make-forkexec-constructor + (list "cncli" + "sync" "--host" "127.0.0.1" "--port" "3005" + "--network-magic" "9" + "--db" (string-append (getenv "HOME") "/test-cardano/dev-vasil/blocklog.db") + ) + #:log-file (string-append (getenv "HOME") "/test-cardano/dev-vasil/log/cncli.log")) + + #:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C + #:requires '(vasil-bp))) + (register-services (make #:docstring "Cardano Vasil wallet" -- cgit v1.2.3