]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
%php_webserver_restart: respect php_suffix when restarting
authorElan Ruusamäe <glen@delfi.ee>
Tue, 19 Mar 2013 16:55:26 +0000 (18:55 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 19 Mar 2013 16:55:26 +0000 (18:55 +0200)
rpm.macros

index d7063b002428e69370eb247f27ce1813271ca039..bc2f463bf9148ff5033b0d026d6fff43c9e7aa38 100644 (file)
@@ -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}
 
This page took 0.210207 seconds and 4 git commands to generate.