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

Side by Side Diff: modules/nginx/templates/logrotate.erb

Issue 29397577: Noissue - Delay compression in Nginx log rotation (Closed)
Patch Set: Created March 29, 2017, 6:27 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/nginx/files/logrotate ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /var/log/nginx/<%= log %> { 1 /var/log/nginx/<%= log %> {
2 daily 2 daily
3 rotate 30 3 rotate 30
4 compress 4 compress
5 delaycompress
5 missingok 6 missingok
6 nodateext 7 nodateext
7 sharedscripts 8 sharedscripts
8 postrotate 9 postrotate
9 [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid` 10 [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
10 endscript 11 endscript
11 } 12 }
OLDNEW
« no previous file with comments | « modules/nginx/files/logrotate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld