summaryrefslogtreecommitdiff
path: root/staging/php/logrotate.d.php-fpm
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-16 22:59:30 +0000
committerroot <root@rshg047.dnsready.net>2011-06-16 22:59:30 +0000
commit1fcb176285908c33aca3b0f5cb703ec098e5440c (patch)
tree45be5519988f1ec96c9bc1a55e2ffcf5f5c62d26 /staging/php/logrotate.d.php-fpm
parentebe74a263db3899367e12d936f908cdfdee7ec15 (diff)
Thu Jun 16 22:59:30 UTC 2011
Diffstat (limited to 'staging/php/logrotate.d.php-fpm')
-rw-r--r--staging/php/logrotate.d.php-fpm6
1 files changed, 6 insertions, 0 deletions
diff --git a/staging/php/logrotate.d.php-fpm b/staging/php/logrotate.d.php-fpm
new file mode 100644
index 000000000..7a1ba2597
--- /dev/null
+++ b/staging/php/logrotate.d.php-fpm
@@ -0,0 +1,6 @@
+/var/log/php-fpm.log {
+ missingok
+ postrotate
+ /etc/rc.d/php-fpm logrotate >/dev/null || true
+ endscript
+}