Not always apache is used

This commit is contained in:
Alexandros Ioannides 2018-05-31 23:08:39 +03:00 committed by GitHub
commit cb20b0bfd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1163,7 +1163,12 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
php5enmod mcrypt 2>/dev/null php5enmod mcrypt 2>/dev/null
phpenmod mcrypt 2>/dev/null phpenmod mcrypt 2>/dev/null
if [ "$apache" = 'yes' ]; then
service apache2 restart service apache2 restart
fi
if [ "$nginx" = 'yes' ]; then
service nginx restart
fi
fi fi