%define apache_modules_dir %{_usr}/lib/apache/modules
%define apache_conf_dir %{_sysconfdir}/apache/conf/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/apache
%define ngobjweb_requires apache
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
+%{apache_initscript} restart
+
%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/httpd/modules
%define apache_conf_dir %{_sysconfdir}/httpd/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/httpd
%define ngobjweb_requires httpd
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/apache2
%define apache_conf_dir %{_sysconfdir}/httpd/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/httpd
%define ngobjweb_requires apache2
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/apache2
%define apache_conf_dir %{_sysconfdir}/httpd/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/httpd
%define ngobjweb_requires apache2
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/httpd/modules
%define apache_conf_dir %{_sysconfdir}/httpd/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/httpd
%define ngobjweb_requires httpd
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/httpd/modules
%define apache_conf_dir %{_sysconfdir}/httpd/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/httpd
%define ngobjweb_requires httpd
Summary: mod_ngobjweb apache module
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/httpd/modules
%define apache_conf_dir %{_sysconfdir}/httpd/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/httpd
%define ngobjweb_requires httpd
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/apache2
%define apache_conf_dir %{_sysconfdir}/apache2/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/apache2
%define ngobjweb_requires apache2
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/apache
%define apache_conf_dir %{_sysconfdir}/httpd
+%define apache_initscript %{_sysconfdir}/init.d/apache
%define ngobjweb_requires apache
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/apache2
%define apache_conf_dir %{_sysconfdir}/apache2/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/apache2
%define ngobjweb_requires apache2
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/apache2
%define apache_conf_dir %{_sysconfdir}/apache2/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/apache2
%define ngobjweb_requires apache2
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/apache2
%define apache_conf_dir %{_sysconfdir}/apache2/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/apache2
%define ngobjweb_requires apache2
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************
%define apache_modules_dir %{_usr}/lib/apache2
%define apache_conf_dir %{_sysconfdir}/apache2/conf.d
+%define apache_initscript %{_sysconfdir}/init.d/apache2
%define ngobjweb_requires apache2
Summary: mod_ngobjweb apache module
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** trigger ******************************
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-webui.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-xmlrpcd
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogo-zidestore
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerin -- ogoall
</LocationMatch>
</IfModule>
" >%{apache_conf_dir}/ogo-zidestore.conf
+
+%{apache_initscript} restart
fi
%triggerun -- ogoall
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-webui-app
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-xmlrpcd
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
+ %{apache_initscript} restart
fi
%triggerun -- ogo-zidestore
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
+ %{apache_initscript} restart
fi
# ****************************** clean ********************************