Skip to content

Commit c1c0443

Browse files
Merge pull request hestiacp#1600 from ioannidesalex/patch-44
Not always apache is used
2 parents e44a7ca + cb20b0b commit c1c0443

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

install/vst-install-ubuntu.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,12 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
11641164
mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
11651165
php5enmod mcrypt 2>/dev/null
11661166
phpenmod mcrypt 2>/dev/null
1167-
service apache2 restart
1167+
if [ "$apache" = 'yes' ]; then
1168+
service apache2 restart
1169+
fi
1170+
if [ "$nginx" = 'yes' ]; then
1171+
service nginx restart
1172+
fi
11681173
fi
11691174

11701175

0 commit comments

Comments
 (0)