Last active
July 16, 2019 04:17
-
-
Save madsonic/c71677f92b415ab7ed9acc07c03703bc to your computer and use it in GitHub Desktop.
log rotation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <file glob> { | |
| } | |
| # run logrotate | |
| logrotate --verbose --debug --force <logroate file | logrotate.d/> | |
| # logrotate status | |
| # check for past logrotate actions | |
| /var/lib/logrotate.status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment