Created sample logrotate config file

This commit is contained in:
Asif Bacchus 2018-09-27 23:52:03 -06:00
parent 7f90f496a9
commit 2db482e800
1 changed files with 15 additions and 0 deletions

15
etc/logrotate.d/cfddns Normal file
View File

@ -0,0 +1,15 @@
### Rotate cfddns log file
# location of log file (-l parameter of script file)
/path/to/cfddns.log {
# rotate log file weekly -- you could also use 'daily', 'monthly' or
# specify a size using 'size 100k', for example
weekly
# keep 3 weeks of old logs (3 files) and delete older ones
rotate 3
# compress old log files using gzip (default)
compress
}