aboutsummaryrefslogtreecommitdiffstats
path: root/config/shepherd
diff options
context:
space:
mode:
Diffstat (limited to 'config/shepherd')
-rw-r--r--config/shepherd/init.d/cardano.scm15
1 files changed, 15 insertions, 0 deletions
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
@@ -136,6 +136,21 @@
(register-services
(make <service>
+ #: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 <service>
#:docstring "Cardano Vasil wallet"
#:provides '(vasil-wallet)
#:start (make-forkexec-constructor