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

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