summaryrefslogtreecommitdiff
path: root/testing/php/logrotate.d.php-fpm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
committerroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
commit94fa10f3a918892a08707aa27eb32a83a4959879 (patch)
tree27111dcbae78f85f5016ac49dd08eff5f7e976c0 /testing/php/logrotate.d.php-fpm
parent0f99ce5b4d8585285835a277dcbdaf1493d00635 (diff)
Sat Jun 16 00:01:25 UTC 2012
Diffstat (limited to 'testing/php/logrotate.d.php-fpm')
-rw-r--r--testing/php/logrotate.d.php-fpm8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/php/logrotate.d.php-fpm b/testing/php/logrotate.d.php-fpm
new file mode 100644
index 000000000..ac2d92a36
--- /dev/null
+++ b/testing/php/logrotate.d.php-fpm
@@ -0,0 +1,8 @@
+/var/log/php-fpm.log {
+ missingok
+ notifempty
+ delaycompress
+ postrotate
+ kill -USR1 `cat /run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}