From 91998802a7d33f83095963ef824a90206ac54520 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 17 Jan 2023 11:16:15 -0500 Subject: [PATCH] Restore original rsyslog-rotate script Direct call doesn't work because of how arguments are passed to postrotate. --- roles/base/templates/etc/logrotate.d/rsyslog.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/templates/etc/logrotate.d/rsyslog.j2 b/roles/base/templates/etc/logrotate.d/rsyslog.j2 index 9d9e67e..3de075d 100644 --- a/roles/base/templates/etc/logrotate.d/rsyslog.j2 +++ b/roles/base/templates/etc/logrotate.d/rsyslog.j2 @@ -16,6 +16,6 @@ delaycompress sharedscripts postrotate - /usr/bin/systemctl kill -s HUP rsyslog.service + /usr/lib/rsyslog/rsyslog-rotate endscript }