Skip to contentSkip to conversation

rsyslog: init file has been renamed, reflect in logrotate conf file

PATCH New Jack Mitchell 1 participant 1 message Jan 23, 2015

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index ba1120a..4853167 100644
@@ -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