]> git.pld-linux.org Git - packages/php.git/blobdiff - php-fpm.logrotate
up to 5.4.18; fixes CVE-2013-4113 and CVE-2013-4248
[packages/php.git] / php-fpm.logrotate
index 3bec7c1a11e7ba613b5ee84c267fc667c5a03dc8..3e4c2304be72bcc519b2c45ec99ec6d83c30193c 100644 (file)
@@ -1,11 +1,11 @@
-/var/log/fpm.log
-/var/log/fpm-slow.log
+/var/log/php/@processname@.log
 {
+       su root http
        notifempty
        missingok
        create 600 root root
        sharedscripts
        postrotate
-               /sbin/service php-fpm flush-logs > /dev/null
+               /sbin/service @processname@ flush-logs > /dev/null
        endscript
 }
This page took 0.025642 seconds and 4 git commands to generate.