aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tengine/tengine.logrotate
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:32:23 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:32:23 +0200
commit0d1a3a6de08d361aa77ded7e203c482261e0c663 (patch)
tree88527102a1fba6a4601b505e7dbe15128a3d0ba4 /testing/tengine/tengine.logrotate
parent26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b (diff)
downloadaports-0d1a3a6de08d361aa77ded7e203c482261e0c663.tar.bz2
aports-0d1a3a6de08d361aa77ded7e203c482261e0c663.tar.xz
testing/tengine: new aport
Diffstat (limited to 'testing/tengine/tengine.logrotate')
-rw-r--r--testing/tengine/tengine.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/tengine/tengine.logrotate b/testing/tengine/tengine.logrotate
new file mode 100644
index 0000000000..7778b1108b
--- /dev/null
+++ b/testing/tengine/tengine.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
+}
+