summaryrefslogtreecommitdiff
path: root/data/templates/ssh/override.conf.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-22 23:05:25 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-22 23:16:13 +0200
commit8c7cd6f181a4bbb5aee99f50e6c32eb1f4f37c3d (patch)
tree4307c93a9ab015f85e73643dffc48bbf6daba92d /data/templates/ssh/override.conf.j2
parent58df49d71a9c9e727fe03b4ef3b9c700dd0daebf (diff)
downloadvyos-1x-8c7cd6f181a4bbb5aee99f50e6c32eb1f4f37c3d.tar.gz
vyos-1x-8c7cd6f181a4bbb5aee99f50e6c32eb1f4f37c3d.zip
ssh: T3212: do not load systemd EnvironmentFile
Diffstat (limited to 'data/templates/ssh/override.conf.j2')
-rw-r--r--data/templates/ssh/override.conf.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/data/templates/ssh/override.conf.j2 b/data/templates/ssh/override.conf.j2
index e4d6f51cb..4454ad1b8 100644
--- a/data/templates/ssh/override.conf.j2
+++ b/data/templates/ssh/override.conf.j2
@@ -5,8 +5,9 @@ After=vyos-router.service
ConditionPathExists={{ config_file }}
[Service]
+EnvironmentFile=
ExecStart=
-ExecStart={{ vrf_command }}/usr/sbin/sshd -f {{ config_file }} -D $SSHD_OPTS
+ExecStart={{ vrf_command }}/usr/sbin/sshd -f {{ config_file }}
Restart=always
RestartPreventExitStatus=
RestartSec=10