From f38ce741c2852e4eaeeaa23736960d9a717b600f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 1 May 2022 20:43:45 +0200 Subject: system-logs: T4353: fix Jinja2 linting errors --- data/templates/logs/logrotate/vyos-rsyslog.j2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 data/templates/logs/logrotate/vyos-rsyslog.j2 (limited to 'data/templates/logs/logrotate/vyos-rsyslog.j2') diff --git a/data/templates/logs/logrotate/vyos-rsyslog.j2 b/data/templates/logs/logrotate/vyos-rsyslog.j2 new file mode 100644 index 000000000..f2e4d2ab2 --- /dev/null +++ b/data/templates/logs/logrotate/vyos-rsyslog.j2 @@ -0,0 +1,13 @@ +/var/log/messages { + create + missingok + nomail + notifempty + rotate {{ rotate }} + size {{ max_size }}M + postrotate + # inform rsyslog service about rotation + /usr/lib/rsyslog/rsyslog-rotate + endscript +} + -- cgit v1.2.3