Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
logrotate user logs
# /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