commit bbabad9e6bd5c29b1123d4faf42e62e7c817f45c
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Mar 19 18:55:26 2013 +0200

    %php_webserver_restart: respect php_suffix when restarting

 rpm.macros | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm.macros b/rpm.macros
index d7063b0..bc2f463 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -958,8 +958,8 @@ if [ -x /etc/rc.d/init.d/php-fcgi ]; then \
                %service -q php-fcgi restart \
        fi \
 fi \
-if [ -x /etc/rc.d/init.d/php-fpm ]; then \
-       %service -q php-fpm restart \
+if [ -x /etc/rc.d/init.d/%{php_name}-fpm ]; then \
+       %service -q %{php_name}-fpm restart \
 fi \
 %{nil}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/bbabad9e6bd5c29b1123d4faf42e62e7c817f45c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to