FS#36239 - [nginx] logrotate reports failure if nginx is not running
Attached to Project:
Community Packages
Opened by Peter Wu (Lekensteyn) - Monday, 22 July 2013, 09:27 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 05 August 2013, 19:55 GMT
Opened by Peter Wu (Lekensteyn) - Monday, 22 July 2013, 09:27 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 05 August 2013, 19:55 GMT
|
Details
Description:
When nginx is not running, logrotate will report an error when /var/run/nginx.pid does not exist. The attached patch will make the postrotate script terminate succesfully if the pid file does not exist. It'll still complain when nginx failed to re-open logfiles for some reason. Package version: nginx 1.4.2-1 |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Monday, 05 August 2013, 19:55 GMT
Reason for closing: Fixed
Additional comments about closing: fixed upstream. will be in 1.4.2-2.
Monday, 05 August 2013, 19:55 GMT
Reason for closing: Fixed
Additional comments about closing: fixed upstream. will be in 1.4.2-2.
logrotate.patch