Skip to content

Commit 2c6dfd7

Browse files
committed
Replaced hardcoded symlinks with a2ensite in apache config
1 parent cb701b3 commit 2c6dfd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/install_apache.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ PACKAGENAME=eratosthenes
88
sudo cp /opt/codebender/$PACKAGENAME/apache-config-2.4 /etc/apache2/sites-available/codebender-$PACKAGENAME
99
cd /etc/apache2/sites-enabled
1010
# Add the vhost configuration file to the enabled sites
11-
sudo ln -s ../sites-available/codebender-$PACKAGENAME 00-codebender.conf
11+
sudo a2ensite codebender-$PACKAGENAME
1212
# Reload apache in order to enable the new configurations
1313
sudo service apache2 reload

scripts/travis_install_apache.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PACKAGENAME=eratosthenes
88
sudo cp /opt/codebender/$PACKAGENAME/apache-config-2.2 /etc/apache2/sites-available/codebender-$PACKAGENAME
99
cd /etc/apache2/sites-enabled
1010
# Add the vhost configuration file to the enabled sites
11-
sudo ln -s ../sites-available/codebender-$PACKAGENAME 00-codebender
11+
sudo a2ensite codebender-$PACKAGENAME
1212
# Reload apache in order to enable the new configurations
1313
sudo service apache2 reload
1414

0 commit comments

Comments
 (0)