]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- unify apache restart command
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 6 Jun 2005 10:25:34 +0000 (10:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    webapp.spec -> 1.17

webapp.spec

index 8bb2f398685384db2881bc90e898fed3826519b9..af9b97ed9378b92269639ca4f76c7706c893327c 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
-               /usr/sbin/apachectl restart 1>&2
+               /etc/rc.d/init.d/httpd restart 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
-               /usr/sbin/apachectl restart 1>&2
+               /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
This page took 0.080856 seconds and 4 git commands to generate.