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(-) diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate b/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate index ba1120a..4853167 100644 --- a/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate +++ b/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate @@ -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 } -- 2.2.2 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
