Serghey Rodin 8 лет назад
Родитель
Сommit
c940632378
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/v-restart-web-backend

+ 1 - 1
bin/v-restart-web-backend

@@ -50,7 +50,7 @@ if [ -z "$WEB_BACKEND" ] || [ "$WEB_BACKEND" = 'remote' ]; then
 fi
 
 # Restart system
-php_fpm=$(ls /etc/init.d/php*-fpm* 2>/dev/null |cut -f 4 -d / |head -n1)
+php_fpm=$(ls /etc/init.d/php*-fpm* 2>/dev/null |cut -f 4 -d /)
 if [ -z "$php_fpm" ]; then
     service $WEB_BACKEND restart >/dev/null 2>&1
 else