diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2014-06-29 17:38:02 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2014-06-29 17:38:02 +0000 |
| commit | 580158b7a6d800dbf7e2c02b6ef521cd98a5d762 (patch) | |
| tree | 446e95494d3cfb36c64e284c38167b416af653b4 /files/httpd | |
| parent | 34432689a6453cc6e05934c8b372bcd67637cdd9 (diff) | |
| download | ansible-580158b7a6d800dbf7e2c02b6ef521cd98a5d762.tar.gz ansible-580158b7a6d800dbf7e2c02b6ef521cd98a5d762.tar.xz ansible-580158b7a6d800dbf7e2c02b6ef521cd98a5d762.zip | |
Set apache logrotate on all the ansible hosts right.
Diffstat (limited to 'files/httpd')
| -rw-r--r-- | files/httpd/httpd.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/files/httpd/httpd.logrotate b/files/httpd/httpd.logrotate new file mode 100644 index 000000000..1a23a662d --- /dev/null +++ b/files/httpd/httpd.logrotate @@ -0,0 +1,13 @@ +/var/log/httpd/*log { + daily + rotate 7 + missingok + ifempty + compress + compresscmd /usr/bin/bzip2 + uncompresscmd /usr/bin/bunzip2 + compressext .bz2 + dateext + sharedscripts + copytruncate +} |
