Merge ".conf suffix for the horizon config on Fedora"
This commit is contained in:
@@ -106,13 +106,13 @@ function init_horizon() {
|
||||
sudo mkdir -p $HORIZON_DIR/.blackhole
|
||||
|
||||
HORIZON_REQUIRE=''
|
||||
local horizon_conf=/etc/$APACHE_NAME/$APACHE_CONF_DIR/horizon
|
||||
local horizon_conf=/etc/$APACHE_NAME/$APACHE_CONF_DIR/horizon.conf
|
||||
if is_ubuntu; then
|
||||
# Clean up the old config name
|
||||
sudo rm -f /etc/apache2/sites-enabled/000-default
|
||||
# Be a good citizen and use the distro tools here
|
||||
sudo touch $horizon_conf
|
||||
sudo a2ensite horizon
|
||||
sudo a2ensite horizon.conf
|
||||
# WSGI isn't enabled by default, enable it
|
||||
sudo a2enmod wsgi
|
||||
elif is_fedora; then
|
||||
|
||||
Reference in New Issue
Block a user