aboutsummaryrefslogtreecommitdiffstats
path: root/community/nginx-naxsi/nginx.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/nginx-naxsi/nginx.logrotate')
-rw-r--r--community/nginx-naxsi/nginx.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/nginx-naxsi/nginx.logrotate b/community/nginx-naxsi/nginx.logrotate
new file mode 100644
index 0000000000..7778b1108b
--- /dev/null
+++ b/community/nginx-naxsi/nginx.logrotate
@@ -0,0 +1,12 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.logrotate,v 1.1 2010/01/03 20:29:40 djc Exp $
+
+/var/log/nginx/*.log {
+ missingok
+ sharedscripts
+ postrotate
+ kill -USR1 `cat /var/run/nginx.pid`
+ endscript
+}
+