aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2022-12-22 13:39:23 +0100
committerOscar Najera <hi@oscarnajera.com>2022-12-22 13:39:23 +0100
commita328c4bf886246c157ee54c4c88ec1929d9fcf3e (patch)
tree0b308115c7dc6ffdc081f5ebd1c8f9bd7cb7bc13 /config
parentc1e92fdca883c10e5b12586fcb7c3c8f6a011194 (diff)
downloaddotfiles-a328c4bf886246c157ee54c4c88ec1929d9fcf3e.tar.gz
dotfiles-a328c4bf886246c157ee54c4c88ec1929d9fcf3e.tar.bz2
dotfiles-a328c4bf886246c157ee54c4c88ec1929d9fcf3e.zip
Shepherd ssh tunnels with ssh gpg agent knowledge
Diffstat (limited to 'config')
-rw-r--r--config/shepherd/init.d/bitcoin.scm3
-rw-r--r--config/shepherd/init.d/cardano.scm3
-rw-r--r--config/shepherd/init.d/cmk.scm3
3 files changed, 6 insertions, 3 deletions
diff --git a/config/shepherd/init.d/bitcoin.scm b/config/shepherd/init.d/bitcoin.scm
index e638bef..d5f128c 100644
--- a/config/shepherd/init.d/bitcoin.scm
+++ b/config/shepherd/init.d/bitcoin.scm
@@ -52,7 +52,8 @@
"-L" "8332:localhost:8332"
"-L" "8333:localhost:8333"
"sarah")
- #:log-file "/tmp/sarah-ssh.log")
+ #:log-file "/tmp/sarah-ssh.log"
+ #:environment-variables '("SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh"))
#:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
#:respawn? #t))
diff --git a/config/shepherd/init.d/cardano.scm b/config/shepherd/init.d/cardano.scm
index b8efbca..a35e563 100644
--- a/config/shepherd/init.d/cardano.scm
+++ b/config/shepherd/init.d/cardano.scm
@@ -19,7 +19,8 @@
"-L" "50001:localhost:50001" ;; electrs
"-L" "24224:localhost:24224" ;; electrs monitoring
"cardano@nina")
- #:log-file "/tmp/nina-ssh.log")
+ #:log-file "/tmp/nina-ssh.log"
+ #:environment-variables '("SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh"))
#:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
#:respawn? #t))
diff --git a/config/shepherd/init.d/cmk.scm b/config/shepherd/init.d/cmk.scm
index 4c98f1c..97ced9f 100644
--- a/config/shepherd/init.d/cmk.scm
+++ b/config/shepherd/init.d/cmk.scm
@@ -9,6 +9,7 @@
"-o" "StreamLocalBindUnlink=yes"
"-L" "/tmp/ingridcmk.socket:/omd/sites/ingrid/tmp/run/live"
"ingrid@ingrid")
- #:log-file "/tmp/ingrid-cmk.log")
+ #:log-file "/tmp/ingrid-cmk.log"
+ #:environment-variables '("SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh"))
#:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C
#:respawn? #t))