diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-12 03:59:45 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-12 03:59:45 +0000 |
commit | d8679f0250762892ab1e1a6d71badc2e9d42a526 (patch) | |
tree | 2c5893ffb5a88532e043973210221d10ce07f808 /extra/nginx/logrotate | |
parent | 10cc2a54e50ad4aeffd7152937670c8673a096f9 (diff) |
Sat Apr 12 03:57:05 UTC 2014
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 +} |