diff options
Diffstat (limited to 'community/nginx/logrotate')
-rw-r--r-- | community/nginx/logrotate | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/community/nginx/logrotate b/community/nginx/logrotate new file mode 100644 index 000000000..3d082bcf8 --- /dev/null +++ b/community/nginx/logrotate @@ -0,0 +1,9 @@ +/var/log/nginx/*log { + missingok + create 640 http log + sharedscripts + compress + postrotate + test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid` + endscript +} |