Diff is attached.

Interesting; it looks like I should be using
"/usr/lib/rsyslog/rsyslog-rotate" instead of "invoke-rc.d rsyslog rotate >
/dev/null".  I'll try that.

On Sat, Jun 2, 2018 at 12:53 AM, Michael Biebl <bi...@debian.org> wrote:

>
> Am 01.06.2018 um 19:47 schrieb Dave Sp:
> > -- Configuration Files:
> > /etc/init.d/rsyslog changed [not included]
> > /etc/logrotate.d/rsyslog changed [not included]
>
> Please send me your modified /etc/logrotate.d/rsyslog
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>
>
*** rsyslog.8.34.0-1.orig	2018-04-06 14:40:49.000000000 -0500
--- rsyslog	2018-04-04 06:11:56.823040263 -0500
***************
*** 1,13 ****
  /var/log/syslog
  {
! 	rotate 7
! 	daily
  	missingok
  	notifempty
  	delaycompress
  	compress
  	postrotate
! 		/usr/lib/rsyslog/rsyslog-rotate
  	endscript
  }
  
--- 1,16 ----
  /var/log/syslog
  {
! #	rotate 7
! 	rotate 4
! #	daily
! 	weekly
! #	size 1M
  	missingok
  	notifempty
  	delaycompress
  	compress
  	postrotate
! 		invoke-rc.d rsyslog rotate > /dev/null
  	endscript
  }
  
***************
*** 32,37 ****
  	delaycompress
  	sharedscripts
  	postrotate
! 		/usr/lib/rsyslog/rsyslog-rotate
  	endscript
  }
--- 35,40 ----
  	delaycompress
  	sharedscripts
  	postrotate
! 		invoke-rc.d rsyslog rotate > /dev/null
  	endscript
  }

Reply via email to