From f7193ea090891532ec5e6f2abbd6f805bdfbbf1f Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sat, 21 Dec 2024 12:30:38 +0100 Subject: update to shepherd 1.0 --- config/shepherd/init.d/cmk.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config/shepherd/init.d/cmk.scm') diff --git a/config/shepherd/init.d/cmk.scm b/config/shepherd/init.d/cmk.scm index 07f32d4..20f7785 100644 --- a/config/shepherd/init.d/cmk.scm +++ b/config/shepherd/init.d/cmk.scm @@ -1,7 +1,8 @@ (register-services - (make - #:docstring "SSH tunnel to ingrid CMK server for socket" - #:provides '(ingrid-cmk) + (list + (service + '(ingrid-cmk) + #:documentation "SSH tunnel to ingrid CMK server for socket" #:start (make-forkexec-constructor (list "ssh" "-NTv" "-o" "ServerAliveInterval=60" @@ -12,4 +13,4 @@ #: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)) + #:respawn? #t))) -- cgit v1.2.3