%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 _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
