nginx logrotate: wrong postrotate command
postrotate /etc/init.d/nginx --quiet --ifstarted reopen endscript
Actually init.d script doesn’t understand those parameters and does nothing (no zip file created,logrotate -D —force ends with error).
I replaced it with
/usr/sbin/nginx -s reopen
and it works fine (—quiet and —ifstarted is not recognized).
(from redmine: issue id 6106, created on 2016-08-30)