# /etc/logrotate.d/syslogd
#
# ::do_not_edit::
# ::maintainer::
#
#patch-ku-logrotate-200712
#
# defines a basic syslogd rotation rules that is more reliable than the weird
# syslog-listfiles approach of Ubuntu (that's not configurable, or better said,
# they suggest you to MODIFY A SYSTEM SCRIPT to configure, and btw the syslog
# files are rotated daily, no matter what you want -- pft ... no comment)
#
/var/log/syslog /var/log/messages /var/log/auth.log /var/log/daemon.log /var/log/kern.log /var/log/mail.log {
	missingok
	notifempty

	nocreate
	copytruncate

	sharedscripts
	postrotate
		chown syslog:adm /var/log/syslog
		# don't need to restart syslogd, if we use copytruncate
		#sh /etc/init.d/syslogd restart
		#sleep 10
	endscript

	#create 640 root adm
}

