summarylogtreecommitdiffstats
path: root/logrotate.d.php-fpm
diff options
context:
space:
mode:
authorVolkan Gümüs2017-04-14 00:04:52 +0300
committerVolkan Gümüs2017-04-14 00:04:52 +0300
commit0a1cd4a0ad5eeb1ff2fa9a622987525118feffda (patch)
treeac2b6f3a2b44682fe7786cdfda6413e526d90c0d /logrotate.d.php-fpm
parent46328e7f9a997f2080d9b01ea32910302ca1fbb2 (diff)
downloadaur-0a1cd4a0ad5eeb1ff2fa9a622987525118feffda.tar.gz
merge php53 coexisting with php fix of aur user zlatkig
Diffstat (limited to 'logrotate.d.php-fpm')
-rw-r--r--logrotate.d.php-fpm6
1 files changed, 4 insertions, 2 deletions
diff --git a/logrotate.d.php-fpm b/logrotate.d.php-fpm
index 7a1ba2597d6e..a6dd8c21f436 100644
--- a/logrotate.d.php-fpm
+++ b/logrotate.d.php-fpm
@@ -1,6 +1,8 @@
-/var/log/php-fpm.log {
+/var/log/php53-fpm.log {
missingok
+ notifempty
+ delaycompress
postrotate
- /etc/rc.d/php-fpm logrotate >/dev/null || true
+ /bin/kill -SIGUSR1 `cat /run/php53-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
endscript
}