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

Side by Side Diff: modules/nginx/files/logrotate

Issue 9351014: Add logrotate cronjob to all servers, don`t run logrotate unnecessarily on provisioning and use con… (Closed)
Patch Set: Created Feb. 8, 2013, 8:19 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/logrotate/manifests/init.pp ('k') | modules/nginx/manifests/init.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /srv/log/access.log /srv/log/error.log { 1 /var/log/nginx/access.log /var/log/nginx/error.log {
2 » daily 2 daily
3 » rotate 30 3 rotate 30
4 » compress 4 compress
5 » missingok 5 missingok
6 » nodateext 6 nodateext
7 » postrotate 7 sharedscripts
8 » » /usr/bin/killall -HUP nginx 8 postrotate
9 » endscript 9 [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
10 endscript
10 } 11 }
OLDNEW
« no previous file with comments | « modules/logrotate/manifests/init.pp ('k') | modules/nginx/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld