Scratch that now logrotate is broken, the logrotate file needs to be checking /var/run/nginx.pid
/etc/cron.daily/logrotate: cat: /run/nginx.pid: No such file or directory kill: 2: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or kill -l [exitstatus] error: error running shared postrotate script for '/var/log/nginx/*.log ' run-parts: /etc/cron.daily/logrotate exited with return code 1
Scratch that now logrotate is broken, the logrotate file needs to be checking /var/run/nginx.pid
/etc/cron. daily/logrotate : nginx/* .log ' daily/logrotate exited with return code 1
cat: /run/nginx.pid: No such file or directory
kill: 2: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
error: error running shared postrotate script for '/var/log/
run-parts: /etc/cron.