[oe-commits] Jack Mitchell : rsyslog: init file has been renamed, reflect in logrotate conf file
git at git.openembedded.org
git at git.openembedded.org
Wed Feb 4 16:06:13 UTC 2015
Module: meta-openembedded.git
Branch: master-next
Commit: 98603077d926732a8191a4fd6270b355e524d7d0
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=98603077d926732a8191a4fd6270b355e524d7d0
Author: Jack Mitchell <jmitchell at cbnl.com>
Date: Fri Jan 23 10:32:07 2015 +0000
rsyslog: init file has been renamed, reflect in logrotate conf file
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>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.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
}
More information about the Openembedded-commits
mailing list