aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-11-25 15:46:50 +0100
committerÓscar Nájera <hi@oscarnajera.com>2022-11-25 15:50:00 +0100
commitf6dc64da2d6e0c3f62ed84085a329331c162e34d (patch)
tree78a63292daee5bd25b6e63d11adccd5222f346c6
parent441ec34e32862306f93ae35e924c02185a52d4a9 (diff)
downloaddotfiles-f6dc64da2d6e0c3f62ed84085a329331c162e34d.tar.gz
dotfiles-f6dc64da2d6e0c3f62ed84085a329331c162e34d.tar.bz2
dotfiles-f6dc64da2d6e0c3f62ed84085a329331c162e34d.zip
shepherd services
-rw-r--r--config/shepherd/init.d/bitcoin.scm3
-rw-r--r--elisp/shepherd.el2
2 files changed, 2 insertions, 3 deletions
diff --git a/config/shepherd/init.d/bitcoin.scm b/config/shepherd/init.d/bitcoin.scm
index d576eef..e638bef 100644
--- a/config/shepherd/init.d/bitcoin.scm
+++ b/config/shepherd/init.d/bitcoin.scm
@@ -34,10 +34,9 @@
#:provides '(lnd-testnet)
#:start (make-forkexec-constructor
(list "lnd"
- "--lnddir=/run/media/titan/ext_backup/personal/bitcoin/lnd/"
+ "--lnddir=/mnt/disk/personal/bitcoin/lnd/"
"--noseedbackup"))
#:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
- #:requires '(bitcoin-testnet)
#:respawn? #t))
;; Mainnet
diff --git a/elisp/shepherd.el b/elisp/shepherd.el
index 1141d31..48a1aa8 100644
--- a/elisp/shepherd.el
+++ b/elisp/shepherd.el
@@ -63,7 +63,7 @@
`(,name .
(lambda (service)
(message (shepherd-command ,name service))))))
- '(status start stop restart enable)))))
+ '(start status stop restart enable)))))
(provide 'shepherd)
;;; shepherd.el ends here