# file /etc/logrotate.d/nginx
{
daily
rotate 1
size 10M
sharedscripts
postrotate
#/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
service nginx reload
endscript
}
# file /etc/logrotate.d/nginx
{
daily
rotate 1
size 10M
sharedscripts
postrotate
#/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
service nginx reload
endscript
}

被折叠的 条评论
为什么被折叠?