Created
March 24, 2015 03:24
-
-
Save plentz/dbad1385de86fe4b8a2b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
include_recipe "logrotate" | |
logrotate_app "tomcat" do | |
cookbook "logrotate" | |
path "/var/log/tomcat/catalina.out" | |
options ["copytruncate", "missingok", "notifempty"] | |
frequency "daily" | |
rotate 3 | |
create "644 tomcat tomcat" | |
size "50M" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment