]> git.pld-linux.org Git - packages/nginx.git/blame - nginx.logrotate
Enable HTTP/2 in the 'standard' build too
[packages/nginx.git] / nginx.logrotate
CommitLineData
62d642d6 1/var/log/nginx/*.log {
2 olddir /var/log/archive/nginx
80860b8f 3 create 644 nginx nginx
62d642d6 4 sharedscripts
5 postrotate
47cb2f52 6 if [ -x /etc/rc.d/init.d/nginx-light ] ; then
f80bc012 7 /sbin/service nginx-light reopen-logs > /dev/null
47cb2f52
AO
8 fi
9 if [ -x /etc/rc.d/init.d/nginx-standard ] ; then
f80bc012 10 /sbin/service nginx-standard reopen-logs > /dev/null
47cb2f52 11 fi
eac88e80 12 if [ -x /etc/rc.d/init.d/nginx-mail ] ; then
f80bc012 13 /sbin/service nginx-mail reopen-logs > /dev/null
eac88e80
AO
14 fi
15 if [ -x /etc/rc.d/init.d/nginx-perl ] ; then
f80bc012 16 /sbin/service nginx-perl reopen-logs > /dev/null
eac88e80 17 fi
62d642d6 18 endscript
19}
This page took 0.0306 seconds and 4 git commands to generate.