summaryrefslogtreecommitdiff
path: root/data/templates/rsyslog/logrotate.j2
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-07-03 08:57:33 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-07-03 14:49:58 +0000
commit687bab2803999e41a6ea292680c861a421e31167 (patch)
treea38043dbb0b2d8c949445327e77fc986f43fa6a1 /data/templates/rsyslog/logrotate.j2
parentc5716358c150eb215804dfb293dcf831a8a07a9f (diff)
downloadvyos-1x-687bab2803999e41a6ea292680c861a421e31167.tar.gz
vyos-1x-687bab2803999e41a6ea292680c861a421e31167.zip
syslog: T5366: remove reference to deprecated sysvinit rsyslog script
(cherry picked from commit 977d2fbf7a62a97d98b38cf28e62f08fc9e8d3a2)
Diffstat (limited to 'data/templates/rsyslog/logrotate.j2')
-rw-r--r--data/templates/rsyslog/logrotate.j26
1 files changed, 0 insertions, 6 deletions
diff --git a/data/templates/rsyslog/logrotate.j2 b/data/templates/rsyslog/logrotate.j2
index ea33fea4f..b9689a1cf 100644
--- a/data/templates/rsyslog/logrotate.j2
+++ b/data/templates/rsyslog/logrotate.j2
@@ -5,9 +5,6 @@
create
rotate 5
size=256k
- postrotate
- invoke-rc.d rsyslog rotate > /dev/null
- endscript
}
{% if file is vyos_defined %}
@@ -18,9 +15,6 @@
create
rotate {{ file_options.archive.file }}
size={{ file_options.archive.size | int // 1024 }}k
- postrotate
- invoke-rc.d rsyslog rotate > /dev/null
- endscript
}
{% endfor %}