aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx/nginx.logrotate
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-24 16:04:03 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-24 16:04:03 -0500
commitef77ec299e797eef01a8b0f4ace1bf1ead464056 (patch)
tree318e740a9f8737c03f73faa8a94509723d4eda02 /main/nginx/nginx.logrotate
parent7293ee055902cd79283a8a4743483eaa06dd3d3b (diff)
downloadaports-ef77ec299e797eef01a8b0f4ace1bf1ead464056.tar.bz2
aports-ef77ec299e797eef01a8b0f4ace1bf1ead464056.tar.xz
main/nginx: move from testing (ok'd by cbanta)
Diffstat (limited to 'main/nginx/nginx.logrotate')
-rw-r--r--main/nginx/nginx.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/nginx/nginx.logrotate b/main/nginx/nginx.logrotate
new file mode 100644
index 0000000000..7778b1108b
--- /dev/null
+++ b/main/nginx/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
+}
+