summaryrefslogtreecommitdiff
path: root/data/templates/syslog/override.conf.tmpl
blob: 60c397fa770cef71e040004441608e54747ae550 (plain)
1
2
3
4
5
6
7
8
9
10
11
{% set vrf_command = 'ip vrf exec ' + vrf + ' ' if vrf is defined else '' %}
[Unit]
StartLimitIntervalSec=0

[Service]
ExecStart=
ExecStart={{ vrf_command }}/usr/sbin/rsyslogd -n -iNONE
Restart=always
RestartPreventExitStatus=
RestartSec=10
RuntimeDirectoryPreserve=yes