I didn't see the behaviour with the latest stable release 1.8.1-1+trusty0 on Ubuntu Trusty but after an upgrade to the mainline release 1.9.12-0+trusty0
/etc/cron.daily/logrotate:
error: error running shared postrotate script for '/var/log/nginx/*.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
invoke-rc.d nginx rotate
initctl: invalid command: rotate
Try `initctl --help' for more information.
invoke-rc.d: initscript nginx, action "rotate" failed.
I didn't see the behaviour with the latest stable release 1.8.1-1+trusty0 on Ubuntu Trusty but after an upgrade to the mainline release 1.9.12-0+trusty0
/etc/cron. daily/logrotate : nginx/* .log ' daily/logrotate exited with return code 1
error: error running shared postrotate script for '/var/log/
run-parts: /etc/cron.
invoke-rc.d nginx rotate
initctl: invalid command: rotate
Try `initctl --help' for more information.
invoke-rc.d: initscript nginx, action "rotate" failed.