diff options
Diffstat (limited to 'extra/nginx/logrotate')
-rw-r--r-- | extra/nginx/logrotate | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/nginx/logrotate b/extra/nginx/logrotate new file mode 100644 index 000000000..e0fa9ec4c --- /dev/null +++ b/extra/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 +} |