From 9707a10117b5a2f95409d80fd9e6f71134a198e1 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 31 Jul 2013 11:14:22 +0300 Subject: [PATCH] proper variable for php-fpm --- src/deb/nginx/vesta | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/deb/nginx/vesta b/src/deb/nginx/vesta index 17e306db..31ccae53 100755 --- a/src/deb/nginx/vesta +++ b/src/deb/nginx/vesta @@ -22,11 +22,13 @@ PHP_DAEMON=/usr/local/vesta/php/sbin/vesta-php PHP_NAME=vesta-php PHP_DESC=vesta-php PHP_PID=/var/run/vesta-php.pid +PHP_CONF=/usr/local/vesta/php/etc/php-fpm.conf set -e . /lib/lsb/init-functions +. /etc/profile.d/vesta.sh start_nginx() { start-stop-daemon --start --quiet --pidfile $NGINX_PID \ @@ -74,6 +76,7 @@ case "$1" in sleep 1 start_nginx log_end_msg $? + log_daemon_msg "Restarting $PHP_DESC" "$PHP_NAME" start_php log_end_msg $? ;;