[packages/rpm-build-macros] %php_webserver_restart: respect php_suffix when restarting
glen
glen at pld-linux.org
Tue Mar 19 17:55:53 CET 2013
commit bbabad9e6bd5c29b1123d4faf42e62e7c817f45c
Author: Elan Ruusamäe <glen at delfi.ee>
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
More information about the pld-cvs-commit
mailing list