public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Alessandro Locati <fabio@locati.cc>
To: git-commits@fedoraproject.org
Subject: [rpms/autossh] epel10: Forgot to add the files from patch
Date: Sun, 11 Oct 2026 14:41:41 GMT	[thread overview]
Message-ID: <179172970126.1.15563598266472579577.rpms-autossh-4b1c7e885324@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/autossh
Branch : epel10
Commit : 4b1c7e885324a94e925c40ac8fca7fd4e5fe5bd1
Author : Fabio Alessandro Locati <fabio@locati.cc>
Date   : 2016-04-08T10:45:15+01:00
Stats  : +39/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/autossh/c/4b1c7e885324a94e925c40ac8fca7fd4e5fe5bd1?branch=epel10

Log:
Forgot to add the files from patch

---
diff --git a/README.service b/README.service
new file mode 100644
index 0000000..5b7d74f
--- /dev/null
+++ b/README.service
@@ -0,0 +1,26 @@
+The autossh systemd service uses configuration files from the
+/etc/autossh directory. Each configuration file should define a single
+variable OPTIONS, which contains all command line options to pass to
+the respective autossh service instance. The configuration file is the
+name of the service instance suffixed with .conf, for example
+autossh@myconnection.service loads its configuration from the
+/etc/autossh/myconnection.conf file. For example (all on one line,
+wrapped here for readability):
+
+    OPTIONS=-M 0 -NT
+        -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3"
+        -l autossh -i /path/to/id_rsa -L 7474:127.0.0.1:7474
+        srv.example.com
+
+Note that it is not necessary to configure everything related to the
+actual connection in $OPTIONS, instead just as with regular ssh(1)
+use, the -F option can be used there to load them from separate
+configuration files. For example:
+
+    OPTIONS=-M 0 -N -F /path/to/myconnection_ssh_config srv.example.com
+
+The services run as the autossh user by default. This means that
+functionality requiring root access, for example forwarding local
+privileged ports, is not available to them. If root functionality is
+required, it can be accomplished through the systemd unit override
+mechanisms, see systemd.unit(5).

diff --git a/autossh@.service b/autossh@.service
new file mode 100644
index 0000000..cb4039c
--- /dev/null
+++ b/autossh@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=autossh: %I
+Documentation=file:///usr/share/doc/autossh/README.service man:autossh(1)
+After=network.target
+
+[Service]
+User=autossh
+Environment="AUTOSSH_GATETIME=0"
+EnvironmentFile=/etc/autossh/%i.conf
+ExecStart=/usr/bin/autossh $OPTIONS
+
+[Install]
+WantedBy=multi-user.target

                 reply	other threads:[~2026-10-11 14:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=179172970126.1.15563598266472579577.rpms-autossh-4b1c7e885324@fedoraproject.org \
    --to=fabio@locati.cc \
    --cc=git-commits@fedoraproject.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox