#616: Instalador compone directamente fichero de configuración de Apache para solucionar problema con arranque del servicio en Fedora 20 cuando se usa un enlace simbólico.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@4274 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/debian-pkg
ramon 2014-05-23 09:21:39 +00:00
parent 094ac0dfb3
commit f3dde7e27a
1 changed files with 2 additions and 4 deletions

View File

@ -1147,13 +1147,11 @@ function installWebConsoleApacheConf()
if [ -n "$(apachectl -v | grep "2\.[0-2]")" ]; then
# Configuración para versiones anteriores de Apache.
sed -e "s/CONSOLEDIR/${CONSOLEDIR//\//\\/}/g" \
$WORKDIR/opengnsys/server/etc/apache-prev2.4.conf.tmpl > $path_opengnsys_base/etc/apache.conf
ln -fs $path_opengnsys_base/etc/apache.conf $path_apache2_confd/$APACHESITESDIR/${APACHEOGSITE}
$WORKDIR/opengnsys/server/etc/apache-prev2.4.conf.tmpl > $path_apache2_confd/$APACHESITESDIR/${APACHEOGSITE}
else
# Configuración específica a partir de Apache 2.4
sed -e "s/CONSOLEDIR/${CONSOLEDIR//\//\\/}/g" \
$WORKDIR/opengnsys/server/etc/apache.conf.tmpl > $path_opengnsys_base/etc/apache.conf
ln -fs $path_opengnsys_base/etc/apache.conf $path_apache2_confd/$APACHESITESDIR/${APACHEOGSITE}.conf
$WORKDIR/opengnsys/server/etc/apache.conf.tmpl > $path_apache2_confd/$APACHESITESDIR/${APACHEOGSITE}.conf
fi
$APACHEENABLEOG
if [ $? -ne 0 ]; then