summaryrefslogtreecommitdiffstats
path: root/php-fpm.logrotate
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-31 16:11:59 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-31 16:11:59 +0200
commitaf54b5064e163d80e6843cc0e617b09bc4607854 (patch)
tree4fb1ff9bae0b2a0992b05e5676fc0e92cccd0f12 /php-fpm.logrotate
import php54-php 5.4.16 from rhscl 1.1
Diffstat (limited to 'php-fpm.logrotate')
-rw-r--r--php-fpm.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/php-fpm.logrotate b/php-fpm.logrotate
new file mode 100644
index 0000000..25f9feb
--- /dev/null
+++ b/php-fpm.logrotate
@@ -0,0 +1,9 @@
+/var/log/php-fpm/*log {
+ missingok
+ notifempty
+ sharedscripts
+ delaycompress
+ postrotate
+ /bin/kill -SIGUSR1 `cat /run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}