From: frank Date: Fri, 8 Jul 2005 12:22:45 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOPE/trunk@872 e4a50df8-12e2-0310-a44c-efbce... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b70a569d842b66c258167f819e46c14a8dc4cb2d;p=sope git-svn-id: http://svn.opengroupware.org/SOPE/trunk@872 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/maintenance/mod_ngobjweb_conectiva10.spec b/maintenance/mod_ngobjweb_conectiva10.spec index 1d8746db..9057fcd3 100644 --- a/maintenance/mod_ngobjweb_conectiva10.spec +++ b/maintenance/mod_ngobjweb_conectiva10.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,8 +101,12 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{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 @@ -111,6 +119,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +164,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +179,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +187,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +195,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +203,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_fedora.spec b/maintenance/mod_ngobjweb_fedora.spec index ad6da353..eafdb790 100644 --- a/maintenance/mod_ngobjweb_fedora.spec +++ b/maintenance/mod_ngobjweb_fedora.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_mdk100.spec b/maintenance/mod_ngobjweb_mdk100.spec index 9c241d1e..b6abaac4 100644 --- a/maintenance/mod_ngobjweb_mdk100.spec +++ b/maintenance/mod_ngobjweb_mdk100.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_mdk101.spec b/maintenance/mod_ngobjweb_mdk101.spec index 326ba0ef..59167a69 100644 --- a/maintenance/mod_ngobjweb_mdk101.spec +++ b/maintenance/mod_ngobjweb_mdk101.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_redhat9.spec b/maintenance/mod_ngobjweb_redhat9.spec index 1d0961e0..70820683 100644 --- a/maintenance/mod_ngobjweb_redhat9.spec +++ b/maintenance/mod_ngobjweb_redhat9.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_rhel3.spec b/maintenance/mod_ngobjweb_rhel3.spec index 3352cb5c..56e46a23 100644 --- a/maintenance/mod_ngobjweb_rhel3.spec +++ b/maintenance/mod_ngobjweb_rhel3.spec @@ -1,5 +1,6 @@ %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 @@ -83,6 +84,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +100,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +116,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +161,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +176,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +184,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +192,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +200,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_rhel4.spec b/maintenance/mod_ngobjweb_rhel4.spec index bdbf9d5e..7c392ab0 100644 --- a/maintenance/mod_ngobjweb_rhel4.spec +++ b/maintenance/mod_ngobjweb_rhel4.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_sles9.spec b/maintenance/mod_ngobjweb_sles9.spec index bbbabc36..1b937976 100644 --- a/maintenance/mod_ngobjweb_sles9.spec +++ b/maintenance/mod_ngobjweb_sles9.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_slss8.spec b/maintenance/mod_ngobjweb_slss8.spec index e6a876a3..c58eaa40 100644 --- a/maintenance/mod_ngobjweb_slss8.spec +++ b/maintenance/mod_ngobjweb_slss8.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -174,6 +184,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +192,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +200,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_suse82.spec b/maintenance/mod_ngobjweb_suse82.spec index ebb73b07..519888b5 100644 --- a/maintenance/mod_ngobjweb_suse82.spec +++ b/maintenance/mod_ngobjweb_suse82.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_suse91.spec b/maintenance/mod_ngobjweb_suse91.spec index bbbabc36..1b937976 100644 --- a/maintenance/mod_ngobjweb_suse91.spec +++ b/maintenance/mod_ngobjweb_suse91.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_suse92.spec b/maintenance/mod_ngobjweb_suse92.spec index bbbabc36..1b937976 100644 --- a/maintenance/mod_ngobjweb_suse92.spec +++ b/maintenance/mod_ngobjweb_suse92.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ******************************** diff --git a/maintenance/mod_ngobjweb_suse93.spec b/maintenance/mod_ngobjweb_suse93.spec index 21c6edac..34fdbbf4 100644 --- a/maintenance/mod_ngobjweb_suse93.spec +++ b/maintenance/mod_ngobjweb_suse93.spec @@ -1,5 +1,6 @@ %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 @@ -59,6 +60,7 @@ if [ $1 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** trigger ****************************** @@ -83,6 +85,8 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news " >%{apache_conf_dir}/ogo-webui.conf + +%{apache_initscript} restart fi %triggerin -- ogo-xmlrpcd @@ -97,6 +101,8 @@ echo "# configuration needed to access the OGo XMLRPCd via http " >%{apache_conf_dir}/ogo-xmlrpcd.conf + +%{apache_initscript} restart fi %triggerin -- ogo-zidestore @@ -111,6 +117,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerin -- ogoall @@ -154,6 +162,8 @@ echo "# configuration needed to access the OGo ZideStore via http " >%{apache_conf_dir}/ogo-zidestore.conf + +%{apache_initscript} restart fi %triggerun -- ogoall @@ -167,6 +177,7 @@ if [ $2 = 0 ]; then 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 @@ -174,6 +185,7 @@ if [ $2 = 0 ]; then 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 @@ -181,6 +193,7 @@ if [ $2 = 0 ]; then 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 @@ -188,6 +201,7 @@ if [ $2 = 0 ]; then if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then rm -f %{apache_conf_dir}/ogo-zidestore.conf fi + %{apache_initscript} restart fi # ****************************** clean ********************************