%apache_config_install

Elan Ruusamäe glen at delfi.ee
Sun Jun 12 15:51:46 CEST 2005


hardcoded  /etc/apache/conf.d. fixed in CVS

On Saturday 11 June 2005 19:40, Tomasz Wittner wrote:
> %apache_config_install(v:c:n:) \
> [...]
> # restart apache if the config symlink is there\
> if [ -L /etc/apache/conf.d/%{-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\
> fi\
> fi\
> %{nil}
>
> Why %apache_config_install doesn't restart (or reload) apache when symlink
> is placed in /etc/httpd/httpd.conf/ directory? Package containing f.e.
> Alias directive doesn't work after instalation without restarting apache.
> rpmbuild(macros) = 1.222, apache-2.0.54-2, AutoIndex-2.1.0-0.1

-- 
glen



More information about the pld-devel-en mailing list