Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/downloadserver/files/logrotate

Issue 10590049: Initial download server configuration (Closed)
Patch Set: Created May 21, 2013, 3:32 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/downloadserver/files/downloads.adblockplus.org ('k') | modules/downloadserver/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/downloadserver/files/logrotate
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/downloadserver/files/logrotate
@@ -0,0 +1,11 @@
+/var/log/nginx/access_log_downloads {
+ daily
+ rotate 30
+ compress
+ missingok
+ nodateext
+ sharedscripts
+ postrotate
+ [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
+ endscript
+}
« no previous file with comments | « modules/downloadserver/files/downloads.adblockplus.org ('k') | modules/downloadserver/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld