Procházet zdrojové kódy

Merge pull request #1600 from ioannidesalex/patch-44

Not always apache is used
Serghey Rodin před 8 roky
rodič
revize
c1c0443e20
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. 6 1
      install/vst-install-ubuntu.sh

+ 6 - 1
install/vst-install-ubuntu.sh

@@ -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