summaryrefslogtreecommitdiff
path: root/data/templates/rsyslog/override.conf.j2
blob: 5f6a87edf56d48672c250cc6137871197c9c0ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' ' if vrf is vyos_defined else '' %}
[Unit]
StartLimitIntervalSec=0

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