]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- apache reload as we only change configuration, no full restart needed for apache
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 30 Jun 2005 21:50:33 +0000 (21:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.226

rpm.macros

index 8c4e9c6e0d4c0f9c1da4ec942969ce8a08a21f4f..824b82c7df8fc718433464ed258ad6ad19ffc35d 100644 (file)
@@ -686,10 +686,10 @@ fi;
 if [ "$1" = "1" ] && [ "$2" = "1" ] && [ -d %{__apache_confdir %{-v*}} ]; then\
        ln -sf %{-c*}%{!-c:%{_sysconfdir}/apache-%{name}.conf} %{__apache_confdir %{-v*}}/%{-n*}%{!-n:99}_%{name}.conf\
 fi\
-# restart apache if the config symlink is there\
+# reload apache if the config symlink is there\
 if [ -L %{__apache_confdir %{-v*}}/%{-n*}%{!-n:99}_%{name}.conf ]; then\
        if [ -f /var/lock/subsys/%{__apache_svcname %{-v*}} ]; then\
-               /etc/rc.d/init.d/%{__apache_svcname %{-v*}} restart 1>&2\
+               /etc/rc.d/init.d/%{__apache_svcname %{-v*}} reload 1>&2\
        fi\
 fi\
 %{nil}
@@ -709,7 +709,7 @@ if [ "$1" = "0" ] || [ "$2" = "0" ]; then \
        if [ -L %{__apache_confdir %{-v*}}/%{-n*}%{!-n:99}_%{name}.conf ]; then \
                rm -f %{__apache_confdir %{-v*}}/%{-n*}%{!-n:99}_%{name}.conf \
                if [ -f /var/lock/subsys/%{__apache_svcname %{-v*}} ]; then \
-                       /etc/rc.d/init.d/%{__apache_svcname %{-v*}} restart 1>&2 \
+                       /etc/rc.d/init.d/%{__apache_svcname %{-v*}} reload 1>&2 \
                fi \
        fi \
 fi \
This page took 0.112824 seconds and 4 git commands to generate.