[AlternC-dev] dropping support for apache1??

Retour à l'archive de la liste
Le site d'AlternC
Google Custom Search

The Anarcat anarcat at koumbit.org
Ven 5 Oct 17:42:41 CEST 2007


The way I read this, the apache restart in dopo.sh was commented out.

Why?

Also, why is it necessary to check if the modules are already enabled
before enabling them with a2enmod? From what I understood originally,
it's not required.

I'm reverting the commit on dopo.sh and awaiting clarifications on
alternc.install.

Thanks,

A.

----- Forwarded message from commitlogs d'alternc par email <cvs-commit at alternc.org> -----

Date: Fri,  5 Oct 2007 16:31:06 +0200 (CEST)
From: commitlogs d'alternc par email <cvs-commit at alternc.org>
To: cvs-commit at alternc.org
Subject: [Cvs-commit] r1994 - alternc/trunk/install
List-Id: commitlogs d'alternc par email <cvs-commit.alternc.org>
List-Post: <mailto:cvs-commit at alternc.org>
List-Subscribe: <http://alternc.org/cgi-bin/mailman/listinfo/cvs-commit>,
	<mailto:cvs-commit-request at alternc.org?subject=subscribe>

Author: pierre-gilles
Date: 2007-10-05 16:31:05 +0200 (Fri, 05 Oct 2007)
New Revision: 1994

Modified:
   alternc/trunk/install/alternc.install
   alternc/trunk/install/dopo.sh
Log:

Suppress an  usueless restart of apache in dopo.sh
This chek is althought apache 1.3 dependent.

Modify the check before enabling the modules for apache2. Now it show be possible to perform an aptitude install apache2 php5 alternc ... 

I hope :)



Modified: alternc/trunk/install/alternc.install
===================================================================
--- alternc/trunk/install/alternc.install	2007-10-04 23:53:44 UTC (rev 1993)
+++ alternc/trunk/install/alternc.install	2007-10-05 14:31:05 UTC (rev 1994)
@@ -192,7 +192,7 @@
     echo "LoadModule ${php}_module /usr/lib/apache/1.3/lib${php}.so" | append_no_dupe /etc/apache-ssl/modules.conf
     SERVICES="$SERVICES apache apache-ssl"
 fi
-if [ -x /usr/sbin/apache2 ]
+if [ -x /usr/sbin/apache2 ] &&  ! ( [ -L /etc/apache2/mods-enabled/vhost_alias.load ] && [ -L /etc/apache2/mods-enabled/$php.load ] )
 then
     a2enmod vhost_alias
     a2enmod $php

Modified: alternc/trunk/install/dopo.sh
===================================================================
--- alternc/trunk/install/dopo.sh	2007-10-04 23:53:44 UTC (rev 1993)
+++ alternc/trunk/install/dopo.sh	2007-10-05 14:31:05 UTC (rev 1994)
@@ -39,7 +39,7 @@
 find /var/alternc/bureau/locales -maxdepth 1 -mindepth 1 -type d -name "*_*" | dolangs
 
 # Relance les apache pour qu'ils vident leur cache GetText
-invoke-rc.d apache restart
-invoke-rc.d apache-ssl restart
+# invoke-rc.d apache restart
+# invoke-rc.d apache-ssl restart
 
 exit 0

_______________________________________________
Cvs-commit mailing list
Cvs-commit at alternc.org
http://alternc.org/cgi-bin/mailman/listinfo/cvs-commit

----- End forwarded message -----

-- 
Antoine Beaupré
Réseau Koumbit Networks
+1.514.387.6262
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: signature.asc
Type: application/pgp-signature
Taille: 189 octets
Desc: Digital signature
URL: <http://lists.alternc.org/arch/dev/attachments/20071005/e7460b90/attachment.pgp>


Plus d'informations sur la liste de diffusion Dev