I can confirm this issue on Ubuntu 14.04. I installed nginx-full package from ppa:nginx/stable.
And as the previous reports, invoke-rc.d nginx rotate will raise an error:
initctl: invalid command: rotate
Try `initctl --help' for more information.
invoke-rc.d: initscript nginx, action "rotate" failed.
But change to invoke-rc.d nginx reload will work very well.
This because nginx-common package contains "/etc/init.d/nginx, /etc/init/nginx.conf, /lib/systemd/system/nginx.service". For Ubuntu 14.04, which is used upstart for service manager, will use "/etc/init/nginx.conf" rather than "/etc/init.d/nginx.conf", so "service nginx rotate" will be failed.
I can confirm this issue on Ubuntu 14.04. I installed nginx-full package from ppa:nginx/stable.
And as the previous reports, invoke-rc.d nginx rotate will raise an error:
initctl: invalid command: rotate
Try `initctl --help' for more information.
invoke-rc.d: initscript nginx, action "rotate" failed.
But change to invoke-rc.d nginx reload will work very well.
This because nginx-common package contains "/etc/init.d/nginx, /etc/init/ nginx.conf, /lib/systemd/ system/ nginx.service" . For Ubuntu 14.04, which is used upstart for service manager, will use "/etc/init/ nginx.conf" rather than "/etc/init. d/nginx. conf", so "service nginx rotate" will be failed.