summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-03 16:48:44 +0200
committerGitHub <noreply@github.com>2024-07-03 16:48:44 +0200
commitf01423cdf32be5ce5344c00d570c80bdbce6eda9 (patch)
treec23d873e4b1b0c794ca7f2993adc40c9b7cd7577
parentd6a332a1f3218ef589e1c724dd4d728e03798925 (diff)
parent977d2fbf7a62a97d98b38cf28e62f08fc9e8d3a2 (diff)
downloadvyos-1x-f01423cdf32be5ce5344c00d570c80bdbce6eda9.tar.gz
vyos-1x-f01423cdf32be5ce5344c00d570c80bdbce6eda9.zip
Merge pull request #3760 from jestabro/sysvinit-logrotate
syslog: T5366: remove reference to deprecated sysvinit rsyslog script
-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 %}