More verbose log messages for airtime-full-install
This commit is contained in:
parent
cd90fec258
commit
d4ee1ef4c6
1 changed files with 7 additions and 1 deletions
|
@ -124,6 +124,7 @@ else
|
||||||
echo "2.1 Apache Config File"
|
echo "2.1 Apache Config File"
|
||||||
echo "----------------------------------------------------"
|
echo "----------------------------------------------------"
|
||||||
if [ ! -f /etc/apache2/sites-available/airtime ]; then
|
if [ ! -f /etc/apache2/sites-available/airtime ]; then
|
||||||
|
echo "Creating Apache config for Airtime..."
|
||||||
cp $SCRIPTPATH/../apache/airtime-vhost /etc/apache2/sites-available/airtime
|
cp $SCRIPTPATH/../apache/airtime-vhost /etc/apache2/sites-available/airtime
|
||||||
a2dissite default
|
a2dissite default
|
||||||
a2ensite airtime
|
a2ensite airtime
|
||||||
|
@ -132,9 +133,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d /usr/share/airtime/public ]; then
|
if [ ! -d /usr/share/airtime/public ]; then
|
||||||
|
echo "Creating Apache web root directory..."
|
||||||
mkdir -p /usr/share/airtime/public/
|
mkdir -p /usr/share/airtime/public/
|
||||||
else
|
else
|
||||||
echo "Airtime web root already exists..."
|
echo "Airtime web root directory already exists..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# PHP Config File for Apache
|
# PHP Config File for Apache
|
||||||
|
@ -142,12 +144,16 @@ else
|
||||||
echo "2.2 PHP Config File for Apache"
|
echo "2.2 PHP Config File for Apache"
|
||||||
echo "----------------------------------------------------"
|
echo "----------------------------------------------------"
|
||||||
if [ ! -f /etc/php5/apache2/airtime.ini ]; then
|
if [ ! -f /etc/php5/apache2/airtime.ini ]; then
|
||||||
|
echo "Creating Airtime PHP config for Apache..."
|
||||||
cp $SCRIPTPATH/../php5/airtime.ini /etc/php5/apache2/conf.d/airtime.ini
|
cp $SCRIPTPATH/../php5/airtime.ini /etc/php5/apache2/conf.d/airtime.ini
|
||||||
else
|
else
|
||||||
echo "Airtime PHP config for Apache already exists..."
|
echo "Airtime PHP config for Apache already exists..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable modules and restart Apache to enable any configuration changes
|
# Enable modules and restart Apache to enable any configuration changes
|
||||||
|
echo "----------------------------------------------------"
|
||||||
|
echo "2.3 Enable Apache Modules and Restart Apache"
|
||||||
|
echo "----------------------------------------------------"
|
||||||
a2enmod rewrite php5
|
a2enmod rewrite php5
|
||||||
service apache2 restart
|
service apache2 restart
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue