Deploy alternc.conf apache configuration

This commit is contained in:
Kienan Stewart 2018-07-12 10:25:57 -04:00 committed by Benjamin Sonntag
parent ad17a8715b
commit 36fb528818
1 changed files with 5 additions and 0 deletions

View File

@ -393,6 +393,11 @@ if [ -x /usr/sbin/apache2 ]; then
a2enconf alternc-ssl
fi
if [ ! -h /etc/apache2/conf-available/alternc.conf ] && [ -e /etc/apache2/conf-available/ ]; then
ln -sf /etc/alternc/apache2.conf /etc/apache2/conf-available/alternc.conf
a2enconf alternc
fi
SERVICES="$SERVICES $s"
fi