aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx-lua/nginx.logrotate
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-05-07 09:44:55 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-05-07 09:45:35 +0300
commit9893cf0f44ca86d40f46e3b0b4306b42bb5041ac (patch)
tree55b3063b4062844cae66dadcb8d79b38ce3f425f /main/nginx-lua/nginx.logrotate
parentb8cb931e312b5590897c310b0e3bc3f90d6ef809 (diff)
downloadaports-9893cf0f44ca86d40f46e3b0b4306b42bb5041ac.tar.bz2
aports-9893cf0f44ca86d40f46e3b0b4306b42bb5041ac.tar.xz
main/nginx-lua: moved from testing
Diffstat (limited to 'main/nginx-lua/nginx.logrotate')
-rw-r--r--main/nginx-lua/nginx.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/nginx-lua/nginx.logrotate b/main/nginx-lua/nginx.logrotate
new file mode 100644
index 0000000000..7778b1108b
--- /dev/null
+++ b/main/nginx-lua/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
+}
+