slackbuilds_ponce/network/nginx/nginx.logrotate
Robby Workman ad4431d8e7 network/nginx: Fixed logrotate script (added "su" directive)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-09-12 18:04:36 -05:00

12 lines
178 B
Text

/var/log/nginx/*.log {
su @USER@ @GROUP@
rotate 10
notifempty
size=5M
compress
delaycompress
sharedscripts
postrotate
/etc/rc.d/rc.nginx rotate
endscript
}