mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 03:26:42 +00:00
feat(logrotate): add logrorate.d confx files
This commit is contained in:
@@ -31,6 +31,7 @@ SYMLINKS=(
|
|||||||
hgrc
|
hgrc
|
||||||
hyper.js
|
hyper.js
|
||||||
irbrc
|
irbrc
|
||||||
|
logrotate.d
|
||||||
peco
|
peco
|
||||||
powconfig
|
powconfig
|
||||||
pryrc
|
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