Added a real fallback to $mod4 (aka proxy mod)

I decided to use an if statement (hasn't been tested) to enable mod4 only if the first 3 mods fail to enable
This commit is contained in:
Kyle Warwick-Mathieu
2015-04-09 21:29:08 -04:00
parent fbabd13798
commit a9c132eb44

View File

@@ -52,6 +52,9 @@ echo "Okay! Lets hope nothing broke during this process..."
sleep 5s
echo "Now lets enable some modules so we can make all of this work..."
a2enmod $mod1 $mod2 $mod3 $mod4
if [ $? != "0"] then:
a2enmod $mod4
fi
echo "Great! Everything appears to be set up as far as Apache"
service apache2 restart
service apache2 reload