SPECS: template-apache-package.spec - apache reload as we only cha...
glen
glen at pld-linux.org
Thu Jun 30 23:48:34 CEST 2005
Author: glen Date: Thu Jun 30 21:48:34 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- apache reload as we only change configuration, no full restart needed for apache
---- Files affected:
SPECS:
template-apache-package.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/template-apache-package.spec
diff -u SPECS/template-apache-package.spec:1.19 SPECS/template-apache-package.spec:1.20
--- SPECS/template-apache-package.spec:1.19 Tue Jun 28 19:33:47 2005
+++ SPECS/template-apache-package.spec Thu Jun 30 23:48:29 2005
@@ -65,7 +65,7 @@
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
@@ -76,7 +76,7 @@
/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
@@ -85,14 +85,14 @@
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
@@ -109,6 +109,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2005/06/30 21:48:29 glen
+- apache reload as we only change configuration, no full restart needed for apache
+
Revision 1.19 2005/06/28 17:33:47 glen
- typo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/template-apache-package.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list