head.daveops.net

Snippets for yer computer needs

logrotate

logrotate

Syntax ——

 /path/to/file.log {
	 rotate 30
	 daily
	 compress
	 missingok
	 copytruncate
	 dateext
 }