Commit 7431742a authored by anarcat's avatar anarcat Committed by anarcat
Browse files

fix the default configuration file to have the port number so it gets...

fix the default configuration file to have the port number so it gets overwritten by the first verify
parent bbe7749b
...@@ -239,7 +239,7 @@ if [ ! -d $HOSTMASTER_DIR ] ; then ...@@ -239,7 +239,7 @@ if [ ! -d $HOSTMASTER_DIR ] ; then
fi fi
if [ ! -f $AEGIR_HOME/config/vhost.d/$AEGIR_DOMAIN ]; then if [ ! -f $AEGIR_HOME/config/vhost.d/$AEGIR_DOMAIN ]; then
sed -e "s#DocumentRoot .*#DocumentRoot $HOSTMASTER_DIR#" -e "s#Directory .*#Directory $HOSTMASTER_DIR>#" -e "s/ServerName .*/ServerName $AEGIR_DOMAIN/" $HOSTMASTER_DIR/profiles/hostmaster/apache2.conf.txt > $AEGIR_HOME/config/vhost.d/$AEGIR_DOMAIN sed -e "s#DocumentRoot .*#DocumentRoot $HOSTMASTER_DIR#" -e "s#Directory .*#Directory $HOSTMASTER_DIR>#" -e "s/ServerName .*/ServerName $AEGIR_DOMAIN/" $HOSTMASTER_DIR/profiles/hostmaster/apache2.conf.txt > $AEGIR_HOME/config/vhost.d/${AEGIR_DOMAIN}_80
msg "Installed apache configuration file for $AEGIR_DOMAIN, you will need to restart apache" msg "Installed apache configuration file for $AEGIR_DOMAIN, you will need to restart apache"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment