From 478e064b76ed1eec5cd3d4645777288ce8dfc4d7 Mon Sep 17 00:00:00 2001
From: Andrea Dell'Amico <adellam@sevenseas.org>
Date: Fri, 18 Sep 2015 18:38:43 +0200
Subject: [PATCH] library/roles/php-fpm/templates/php-fpm.logrotate.j2: Fix the
 postrotate script

---
 php-fpm/templates/php-fpm.logrotate.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/php-fpm/templates/php-fpm.logrotate.j2 b/php-fpm/templates/php-fpm.logrotate.j2
index 2408a785..75c3b0d3 100644
--- a/php-fpm/templates/php-fpm.logrotate.j2
+++ b/php-fpm/templates/php-fpm.logrotate.j2
@@ -4,7 +4,7 @@
     sharedscripts
     delaycompress
     postrotate
-        /etc/init.d/php5-fpm reload 2>/dev/null || true
+        /usr/lib/php5/php5-fpm-reopenlogs
     endscript
 }