unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: pinoaffe <pinoaffe@airmail.cc>
Cc: 41018@debbugs.gnu.org, 41018-done@debbugs.gnu.org
Subject: [bug#41018] [PATCH v2 try 2] gnu: Add AutoSSH service.
Date: Tue, 05 May 2020 15:33:12 +0300	[thread overview]
Message-ID: <87o8r2d0jb.fsf@gmail.com> (raw)
In-Reply-To: <20200502111908.26a8e396@airmail.cc>

[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]

pinoaffe <pinoaffe@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      reply	other threads:[~2020-05-05 12:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02  9:19 [bug#41018] [PATCH] gnu: Add AutoSSH service pinoaffe
2020-05-02 13:47 ` Oleg Pykhalov
2020-05-03 15:13 ` pinoaffe
2020-05-03 15:52   ` Oleg Pykhalov
2020-05-04 15:56 ` [bug#41018] [PATCH v2] " pinoaffe
2020-05-04 22:49   ` Oleg Pykhalov
2020-05-05  7:31 ` [bug#41018] [PATCH v2 try 2] " pinoaffe
2020-05-05 12:33   ` Oleg Pykhalov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8r2d0jb.fsf@gmail.com \
    --to=go.wigust@gmail.com \
    --cc=41018-done@debbugs.gnu.org \
    --cc=41018@debbugs.gnu.org \
    --cc=pinoaffe@airmail.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).