rsyslog: init file has been renamed, reflect in logrotate conf file
PATCH 1/1 rsyslog: init file has been renamed, reflect in logrotate conf file
From: Jack Mitchell <[email protected]>
rsyslogs init file was recently changed to support update-alternatives and in the process the init file is now /etc/init.d/syslogd rather than /etc/init.d/rsyslogd, change the logrotate config file to reflect this, other wise the daemon won't get restarted and the log files will get rotated but not re-created.
Signed-off-by Jack Mitchell <[email protected]>
--- meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate +2 -2
@@ -9,7 +9,7 @@ delaycompress compress postrotate - /etc/init.d/rsyslog reload 2> /dev/null || true + /etc/init.d/syslog reload 2> /dev/null || true endscript }
@@ -34,6 +34,6 @@ delaycompress sharedscripts postrotate - /etc/init.d/rsyslog reload 2> /dev/null || true + /etc/init.d/syslog reload 2> /dev/null || true endscript }
Signature · 1 line
2.2.2