Created
May 3, 2019 00:57
-
-
Save b13bs/b302612ce95f73575ac957a24d38cb8d to your computer and use it in GitHub Desktop.
logrotate
This file contains 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
/var/log/file.log { | |
weekly | |
rotate 7 | |
compress | |
delaycompress | |
missingok | |
notifempty | |
create 0640 $user $group | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment