GNU bug report logs -
#41018
[PATCH] gnu: Add AutoSSH service.
Previous Next
Reported by: pinoaffe <pinoaffe <at> airmail.cc>
Date: Sat, 2 May 2020 09:21:02 UTC
Severity: normal
Tags: patch
Done: Oleg Pykhalov <go.wigust <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 41018 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
pinoaffe <pinoaffe <at> airmail.cc> writes:
> * doc/guix.texi: Add documentation.
> * gnu/services/ssh.scm (<autossh-configuration>): New record type.
> (mpd-service-type): New service type.
> ---
Not mpd-service-type. :-) Changed to:
--8<---------------cut here---------------start------------->8---
gnu: Add AutoSSH service.
* gnu/services/ssh.scm (<autossh-configuration>): New record type.
(autossh-service-type): New variable.
(autossh-service-activation, autossh-file-name): New procedures.
* doc/guix.texi (Networking Services): Document this.
--8<---------------cut here---------------end--------------->8---
[…]
> +@lisp
> +(autossh (autossh-configuration
> + (user "pino")
> + (ssh-options (list "-T" "-N" "-L" "8081:localhost:8081" "remote.net"))))
> +@end lisp
> +@end deffn
…
> +(define* (autossh-service #:optional (config (autossh-configuration)))
> + "Run autossh with the given @var{config}, a @code{<autossh-configuration>}
> +object."
> + (service autossh-service-type config))
> +
Procedures like this ‘autossh-service’ are deprecated. I removed it and
updated documentation accordingly. Pushed to master with those changes.
Oleg.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 12 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.