X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=php-fpm.logrotate;h=3e4c2304be72bcc519b2c45ec99ec6d83c30193c;hb=92dc4300673c0767b4395ff3f3b006914d21ce3b;hp=3996fb28e991a6dac93641d0403fff70e238744f;hpb=48d13ad20ddbf46b277ec363ab8c903bc2250827;p=packages%2Fphp.git diff --git a/php-fpm.logrotate b/php-fpm.logrotate index 3996fb2..3e4c230 100644 --- a/php-fpm.logrotate +++ b/php-fpm.logrotate @@ -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 }