diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2023-06-30 16:08:08 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2023-06-30 16:08:08 +0200 |
commit | cdda7e3aba7adaef12c3d598c494988820a501f1 (patch) | |
tree | 66aa1a36b88714a3a36d1f97ae7348d69a429d0b /www-servers/nginx/files/nginx.logrotate-r1 | |
parent | bcfe2d68926ea38816109f607789eef9b0405cb4 (diff) | |
download | portage-cdda7e3aba7adaef12c3d598c494988820a501f1.tar.gz portage-cdda7e3aba7adaef12c3d598c494988820a501f1.tar.bz2 portage-cdda7e3aba7adaef12c3d598c494988820a501f1.zip |
www-servers/nginx fork with updated lua modules
Diffstat (limited to 'www-servers/nginx/files/nginx.logrotate-r1')
-rw-r--r-- | www-servers/nginx/files/nginx.logrotate-r1 | 11 |
1 files changed, 11 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 0000000..bc9d87a --- /dev/null +++ b/www-servers/nginx/files/nginx.logrotate-r1 @@ -0,0 +1,11 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +/var/log/nginx/*_log { + missingok + delaycompress + sharedscripts + postrotate + test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid` + endscript +} |