]> git.pld-linux.org Git - projects/template-specs.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:48:29 +0000 (21:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    webapp.spec -> 1.20

webapp.spec

index 05faa7e897c22d38640ea8855e15c6c46de24fa9..27e3ee1e4b0e8a6bb1cfc0cf3c8886b5468c77ae 100644 (file)
@@ -64,7 +64,7 @@ if [ -f /etc/httpd/%{name}.conf.rpmsave ]; then
        cp -f %{_sysconfdir}/apache-%{name}.conf{,.rpmnew}
        mv -f /etc/httpd/%{name}.conf.rpmsave %{_sysconfdir}/apache-%{name}.conf
        if [ -f /var/lock/subsys/httpd ]; then
-               /etc/rc.d/init.d/httpd restart 1>&2
+               /etc/rc.d/init.d/httpd relad 1>&2
        fi
 fi
 
@@ -75,7 +75,7 @@ if [ ! -d /etc/httpd/httpd.conf ]; then
                /etc/httpd/httpd.conf.tmp
        mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
        if [ -f /var/lock/subsys/httpd ]; then
-               /etc/rc.d/init.d/httpd restart 1>&2
+               /etc/rc.d/init.d/httpd reload 1>&2
        fi
 fi
 
@@ -84,14 +84,14 @@ fi
 if [ -d /etc/apache/conf.d ]; then
        ln -sf %{_sysconfdir}/apache-%{name}.conf /etc/apache/conf.d/99_%{name}.conf
        if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
+               /etc/rc.d/init.d/apache reload 1>&2
        fi
 fi
 # apache2
 if [ -d /etc/httpd/httpd.conf ]; then
        ln -sf %{_sysconfdir}/apache-%{name}.conf /etc/httpd/httpd.conf/99_%{name}.conf
        if [ -f /var/lock/subsys/httpd ]; then
-               /etc/rc.d/init.d/httpd restart 1>&2
+               /etc/rc.d/init.d/httpd reload 1>&2
        fi
 fi
 %endif # END OF SAMPLE TRIGGER
This page took 0.598197 seconds and 4 git commands to generate.