Răsfoiți Sursa

fix for php-fpm on ubuntu 16.04

Serghey Rodin 9 ani în urmă
părinte
comite
5003c5b819
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      install/vst-install-ubuntu.sh

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

@@ -870,7 +870,7 @@ fi
 if [ "$phpfpm" = 'yes' ]; then
     pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
     wget $vestacp/php-fpm/www.conf -O $pool/www.conf
-    php_fpm=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /)
+    php_fpm=$(ls /etc/init.d/php*-fpm* |cut -f 4 -d /)
     ln -s /etc/init.d/$php_fpm /etc/init.d/php-fpm > /dev/null 2>&1
     update-rc.d $php_fpm defaults
     service $php_fpm start