view common/logrotate-trac @ 455:a32771c91043

Switch updates available/restart required to script This lets the script manage whether it's on Ubuntu or CentOS and whether it needs yum commands or apt.
author IBBoard <dev@ibboard.co.uk>
date Sun, 20 Aug 2023 13:28:10 +0100
parents 600b3bfb5484
children
line wrap: on
line source

/srv/trac/projects/*/log/trac.log {
	weekly
	rotate 7
	missingok
	create 640 apache apache
	compress
	su apache apache
}