aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7/php7-fpm.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/php7/php7-fpm.logrotate')
-rw-r--r--community/php7/php7-fpm.logrotate13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/php7/php7-fpm.logrotate b/community/php7/php7-fpm.logrotate
new file mode 100644
index 0000000000..10e53e4683
--- /dev/null
+++ b/community/php7/php7-fpm.logrotate
@@ -0,0 +1,13 @@
+/var/log/php7/*.log {
+ rotate 7
+ daily
+ missingok
+ notifempty
+ delaycompress
+ compress
+ dateext
+ sharedscripts
+ postrotate
+ /etc/init.d/php-fpm7 --ifstarted --quiet reopen
+ endscript
+}