Created
July 28, 2012 21:38
-
-
Save esmarkowski/3194906 to your computer and use it in GitHub Desktop.
Add this to /etc/logrotate.conf
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
/home/deploy/missouriwines/shared/log/*.log { | |
weekly | |
missingok | |
rotate 4 | |
compress | |
delaycompress | |
notifempty | |
copytruncate | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment