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: Converted Nagios site configuration and centralized error page configuration Created April 10, 2014, 6:40 a.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/nginx/manifests/init.pp ('k') | modules/nginx/templates/site.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+}
« no previous file with comments | « modules/nginx/manifests/init.pp ('k') | modules/nginx/templates/site.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld