%apache_config_install

Tomasz Wittner twittner at o2.pl
Sat Jun 11 18:40:20 CEST 2005


%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

-- 
Tomasz Wittner



More information about the pld-devel-en mailing list