diff options
Diffstat (limited to 'www-servers/nginx/files/nginx.logrotate-r1')
-rw-r--r-- | www-servers/nginx/files/nginx.logrotate-r1 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www-servers/nginx/files/nginx.logrotate-r1 b/www-servers/nginx/files/nginx.logrotate-r1 new file mode 100644 index 000000000000..a78ed7a1a79c --- /dev/null +++ b/www-servers/nginx/files/nginx.logrotate-r1 @@ -0,0 +1,12 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +/var/log/nginx/*_log { + missingok + delaycompress + sharedscripts + postrotate + test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid` + endscript +} |