[oe] [meta-oe][PATCH] rsyslog: init file has been renamed, reflect in logrotate conf file
Jack Mitchell
ml at communistcode.co.uk
Fri Jan 23 10:32:07 UTC 2015
From: Jack Mitchell <jmitchell at cbnl.com>
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 <jmitchell at cbnl.com>
---
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
More information about the Openembedded-devel
mailing list