From 8be79780a4d67231c74bfe1f57648a16aea85687 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Mon, 4 Jun 2018 21:47:16 -0400 Subject: user/php7: new package --- user/php7/php-fpm.logrotate | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 user/php7/php-fpm.logrotate (limited to 'user/php7/php-fpm.logrotate') diff --git a/user/php7/php-fpm.logrotate b/user/php7/php-fpm.logrotate new file mode 100644 index 000000000..ca87ba981 --- /dev/null +++ b/user/php7/php-fpm.logrotate @@ -0,0 +1,13 @@ +/var/log/php/*.log { + rotate 7 + daily + missingok + notifempty + delaycompress + compress + dateext + sharedscripts + postrotate + /etc/init.d/php-fpm --ifstarted --quiet reopen + endscript +} -- cgit v1.2.3-70-g09d2