summaryrefslogtreecommitdiff
path: root/data/templates/ssh/override.conf.tmpl
blob: 843aa927b587d6af500b4042b5b19f3e10860c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
{% set vrf_command = '/sbin/ip vrf exec ' + vrf + ' ' if vrf is defined else '' %}
[Unit]
StartLimitIntervalSec=0
After=vyos-router.service
ConditionPathExists={{config_file}}

[Service]
ExecStart=
ExecStart={{vrf_command}}/usr/sbin/sshd -f {{config_file}} -D $SSHD_OPTS
RestartSec=10