Created
January 18, 2017 20:20
-
-
Save thorsummoner/854eac860f1cd71fa5c35082c54a9d55 to your computer and use it in GitHub Desktop.
logrotate user logs
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
# /etc/logrotate.d/userlogs | |
/var/run/user/*/log/*.log | |
/var/run/user/*/log/**/*.log | |
{ | |
daily | |
missingok | |
rotate 7 | |
compress | |
notifempty | |
nocreate | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment