Modernize syntax
Add a (hopefully) temporary fix for php5-fpm logrotate bug