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