summaryrefslogtreecommitdiffstats
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2024-05-24 14:11:54 +0200
committerFranck Bui <fbui@suse.com>2024-05-27 17:20:26 +0200
commitde0f11d790624138d77f4d383b67c12e0249f54e (patch)
treeb3d6edfbb22999cd64a803a44de32ca57623c17a /tmpfiles.d
parentMerge pull request #32994 from keszybz/kernel-install-parsing (diff)
downloadsystemd-de0f11d790624138d77f4d383b67c12e0249f54e.tar.xz
systemd-de0f11d790624138d77f4d383b67c12e0249f54e.zip
meson: don't put a symlink pointing to '20-systemd-ssh-proxy.conf' in /etc in all cases
On distros like SUSE where ssh config dropins in /usr are supported, there's no need for a symlink in /etc/ssh/ssh_config.d/ that points to the dropin installed somewhere in /usr (that is not reachable by ssh).
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/20-systemd-ssh-generator.conf.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmpfiles.d/20-systemd-ssh-generator.conf.in b/tmpfiles.d/20-systemd-ssh-generator.conf.in
index 6d1a6a3e31..dbe354a2d2 100644
--- a/tmpfiles.d/20-systemd-ssh-generator.conf.in
+++ b/tmpfiles.d/20-systemd-ssh-generator.conf.in
@@ -7,7 +7,9 @@
# See tmpfiles.d(5) for details
+{% if LINK_SSH_PROXY_DROPIN %}
L {{SSHCONFDIR}}/20-systemd-ssh-proxy.conf - - - - {{LIBEXECDIR}}/ssh_config.d/20-systemd-ssh-proxy.conf
+{% endif %}
{% if CREATE_SSHDPRIVSEPDIR %}
d {{SSHDPRIVSEPDIR}} 0755
{% endif %}