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