summaryrefslogtreecommitdiff
path: root/testing/php/logrotate.d.php-fpm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-28 17:43:57 +0000
committerroot <root@rshg054.dnsready.net>2012-05-28 17:43:57 +0000
commit483f7de4ab6a706517279a24d2efc969f4a1996d (patch)
tree128a7513d3e42c4d8812b5fd11a4afb116399762 /testing/php/logrotate.d.php-fpm
parent89dd7b5f30d48c708092a71b1c8285090fe91505 (diff)
Mon May 28 17:43:57 UTC 2012
Diffstat (limited to 'testing/php/logrotate.d.php-fpm')
-rw-r--r--testing/php/logrotate.d.php-fpm4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/php/logrotate.d.php-fpm b/testing/php/logrotate.d.php-fpm
index 7a1ba2597..b4fe083a8 100644
--- a/testing/php/logrotate.d.php-fpm
+++ b/testing/php/logrotate.d.php-fpm
@@ -1,6 +1,8 @@
/var/log/php-fpm.log {
missingok
+ notifempty
+ delaycompress
postrotate
- /etc/rc.d/php-fpm logrotate >/dev/null || true
+ kill -USR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
endscript
}