Merge pull request #1600 from ioannidesalex/patch-44

Not always apache is used
This commit is contained in:
Serghey Rodin 2018-06-01 00:41:41 +03:00 committed by GitHub
commit c1c0443e20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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