diff options
Diffstat (limited to 'data/templates/syslog/override.conf.tmpl')
-rw-r--r-- | data/templates/syslog/override.conf.tmpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/templates/syslog/override.conf.tmpl b/data/templates/syslog/override.conf.tmpl new file mode 100644 index 000000000..60c397fa7 --- /dev/null +++ b/data/templates/syslog/override.conf.tmpl @@ -0,0 +1,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 |