Skip to content

Commit cb20b0b

Browse files
Not always apache is used
1 parent 54cae50 commit cb20b0b

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
@@ -1163,7 +1163,12 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
11631163
mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
11641164
php5enmod mcrypt 2>/dev/null
11651165
phpenmod mcrypt 2>/dev/null
1166-
service apache2 restart
1166+
if [ "$apache" = 'yes' ]; then
1167+
service apache2 restart
1168+
fi
1169+
if [ "$nginx" = 'yes' ]; then
1170+
service nginx restart
1171+
fi
11671172
fi
11681173

11691174

0 commit comments

Comments
 (0)