]> git.pld-linux.org Git - packages/php.git/blobdiff - php-fpm.logrotate
migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
[packages/php.git] / php-fpm.logrotate
index 3996fb28e991a6dac93641d0403fff70e238744f..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
+               /sbin/service @processname@ flush-logs > /dev/null
        endscript
 }
This page took 0.050385 seconds and 4 git commands to generate.