feat(logrotate): add logrorate.d confx files

This commit is contained in:
2024-06-06 18:31:36 +01:00
parent de4fad562a
commit 12b5ecee91
4 changed files with 20 additions and 0 deletions

1
logrotate.d/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.conf

View File

@@ -0,0 +1,9 @@
$(find "$(brew --prefix)/var/log" -name '*.log' -exec echo '"{}"' \;) {
daily
size 5115k
missingok
rotate 7
compress
copytruncate
notifempty
}

View File

@@ -0,0 +1,9 @@
$(find ~/Projects -name '*.log' -path '*/log/*' ! -path '*/vendor/bundle/ruby/*' ! -path '*/node_modules/*' -exec echo '"{}"' \;) {
daily
size 5115k
missingok
rotate 7
compress
copytruncate
notifempty
}