]> TLD Linux GIT Repositories - packages/php.git/blobdiff - php-fpm.logrotate
- PHP_5_4 branch from PLD
[packages/php.git] / php-fpm.logrotate
diff --git a/php-fpm.logrotate b/php-fpm.logrotate
new file mode 100644 (file)
index 0000000..3e4c230
--- /dev/null
@@ -0,0 +1,11 @@
+/var/log/php/@processname@.log
+{
+       su root http
+       notifempty
+       missingok
+       create 600 root root
+       sharedscripts
+       postrotate
+               /sbin/service @processname@ flush-logs > /dev/null
+       endscript
+}