From 8c7cd6f181a4bbb5aee99f50e6c32eb1f4f37c3d Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 Jul 2022 23:05:25 +0200 Subject: ssh: T3212: do not load systemd EnvironmentFile --- data/templates/ssh/override.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data/templates/ssh/override.conf.j2') 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 -- cgit v1.2.3