mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 01:46:43 +00:00
feat(logrotate): add logrorate.d confx files
This commit is contained in:
@@ -31,6 +31,7 @@ SYMLINKS=(
|
||||
hgrc
|
||||
hyper.js
|
||||
irbrc
|
||||
logrotate.d
|
||||
peco
|
||||
powconfig
|
||||
pryrc
|
||||
|
||||
1
logrotate.d/.gitignore
vendored
Normal file
1
logrotate.d/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.conf
|
||||
9
logrotate.d/homebrew.confx
Normal file
9
logrotate.d/homebrew.confx
Normal file
@@ -0,0 +1,9 @@
|
||||
$(find "$(brew --prefix)/var/log" -name '*.log' -exec echo '"{}"' \;) {
|
||||
daily
|
||||
size 5115k
|
||||
missingok
|
||||
rotate 7
|
||||
compress
|
||||
copytruncate
|
||||
notifempty
|
||||
}
|
||||
9
logrotate.d/projects.confx
Normal file
9
logrotate.d/projects.confx
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user