aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx/nginx.logrotate
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-01-27 18:29:37 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-10 10:17:41 +0000
commit0652a487124c622df7f72c3d574e1dd90bae0bff (patch)
treeec4abea80c9b77b03230840ebe4696eab52fbd02 /main/nginx/nginx.logrotate
parent1060dd05080d3ef893f66f9ef8ab3b89bfa78462 (diff)
downloadaports-0652a487124c622df7f72c3d574e1dd90bae0bff.tar.bz2
aports-0652a487124c622df7f72c3d574e1dd90bae0bff.tar.xz
main/nginx: completely rewritten, all nginx-* packages are assembled in this one
- nginx-common - config-files, init-scripts and common data - nginx - binary without external modules - nginx-rtmp - binary with rtmp module - nginx-lua - binary with rtmp and lua modules - init-script cleaned up to be more openrc-run'ed - logrotate cleaned up to use new init-script Packages main/nginx-initscripts and main/nginx-lua no longer needed.
Diffstat (limited to 'main/nginx/nginx.logrotate')
-rw-r--r--main/nginx/nginx.logrotate6
1 files changed, 1 insertions, 5 deletions
diff --git a/main/nginx/nginx.logrotate b/main/nginx/nginx.logrotate
index 00e5a94eb5..c07e6bcf42 100644
--- a/main/nginx/nginx.logrotate
+++ b/main/nginx/nginx.logrotate
@@ -1,12 +1,8 @@
-# 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
- test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
+ /etc/init.d/nginx --quiet --ifstarted reopen
endscript
}