aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nginx-lua/nginx.logrotate
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-04-02 09:06:15 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-04-02 09:06:15 +0300
commita78475900fb73b54f4cb3115f6eda1d0535b0fa2 (patch)
treef3fc44121e3656136c4bf51e86297b7bf003645e /testing/nginx-lua/nginx.logrotate
parent50020193aa1f478260101db1e74b60436d6d87c8 (diff)
downloadaports-a78475900fb73b54f4cb3115f6eda1d0535b0fa2.tar.bz2
aports-a78475900fb73b54f4cb3115f6eda1d0535b0fa2.tar.xz
testing/nginx-lua: new aport
nginx with luajit support http://www.nginx.org http://wiki.nginx.org/HttpLuaModule
Diffstat (limited to 'testing/nginx-lua/nginx.logrotate')
-rw-r--r--testing/nginx-lua/nginx.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/nginx-lua/nginx.logrotate b/testing/nginx-lua/nginx.logrotate
new file mode 100644
index 0000000000..7778b1108b
--- /dev/null
+++ b/testing/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
+}
+