aboutsummaryrefslogtreecommitdiffstats
path: root/config/shepherd
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-07-07 00:48:46 +0200
committerÓscar Nájera <hi@oscarnajera.com>2022-07-07 00:48:46 +0200
commit94dc1300afc815303494bfbf75d583cd2cfb9ed6 (patch)
tree2d242aa0db1f0d7b97fea27d694e88c45fb64440 /config/shepherd
parente7920c7cf011f441a8b77693ed513eac476986a3 (diff)
downloaddotfiles-94dc1300afc815303494bfbf75d583cd2cfb9ed6.tar.gz
dotfiles-94dc1300afc815303494bfbf75d583cd2cfb9ed6.tar.bz2
dotfiles-94dc1300afc815303494bfbf75d583cd2cfb9ed6.zip
cardano new namespace and services
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