aports/main/nginx-initscripts/nginx.logrotate
Natanael Copa a06bd137cc main/nginx-initscripts: move initscripts to shared package
Share the openrc initscript for the different nginx builds.
2015-09-05 13:05:36 +02:00

13 lines
362 B
Plaintext

# 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`
endscript
}