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

Unified Diff: modules/nginx/templates/logrotate.erb

Issue 5734493784637440: Issue 245 - Unify SSL configuration for all servers (Closed)
Patch Set: Created April 2, 2014, 2:05 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
Index: modules/nginx/templates/logrotate.erb
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/nginx/templates/logrotate.erb
@@ -0,0 +1,11 @@
+/var/log/nginx/<%= log %> {
+ daily
+ rotate 30
+ compress
+ missingok
+ nodateext
+ sharedscripts
+ postrotate
+ [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
+ endscript
+}

Powered by Google App Engine
This is Rietveld