Home My Page Projects FusionForge
Summary Activity Forums Tracker Lists News SCM Files Mediawiki Hudson/Jenkins

[#523] apache reload in /usr/share/gforge/bin/create-vhosts.sh (deb-specific)

Date:
2012-12-18 09:54
Priority:
3
State:
Closed
Submitted by:
Mathias Gebbe (mgebbe)
Assigned to:
Nobody (None)
Target Release:
5.3
Found in Version:
master
Severity:
trivial
Resolution:
Fixed
Summary:
apache reload in /usr/share/gforge/bin/create-vhosts.sh (deb-specific)

Detailed description
in /usr/share/gforge/bin/create-vhosts.sh:

test -f /etc/default/apache2 && . /etc/default/apache2
if [ "$NO_START" != "0" ]; then
if [ -x /usr/sbin/apache ]; then
/usr/sbin/invoke-rc.d --quiet apache reload
fi
else
if [ -x /usr/sbin/apache2 ]; then
/usr/sbin/invoke-rc.d --quiet apache2 reload
fi
fi

NO_START isn´t set by default in /etc/default/apache2

so if NO_START isn´t set the webserver won´t reload and vhost are not avalible.
i just removed the if and only use the else branch because /usr/sbin/apache is obsolete for me
Message  ↓
Date: 2013-12-06 13:20
Sender: Roland Mas

Fixed in the 5.2 and master branches.

Field Old Value Date By
status_idOpen2013-12-06 13:20lolando
close_dateNone2013-12-06 13:20lolando
Target ReleaseNone2013-12-06 13:20lolando
ResolutionNone2013-12-06 13:20lolando
Target Releasetrunk2013-04-27 13:00nerville