Skip to content

Commit 9707a10

Browse files
committed
proper variable for php-fpm
1 parent b8da37c commit 9707a10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/deb/nginx/vesta

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ PHP_DAEMON=/usr/local/vesta/php/sbin/vesta-php
2222
PHP_NAME=vesta-php
2323
PHP_DESC=vesta-php
2424
PHP_PID=/var/run/vesta-php.pid
25+
PHP_CONF=/usr/local/vesta/php/etc/php-fpm.conf
2526

2627
set -e
2728

2829
. /lib/lsb/init-functions
2930

31+
. /etc/profile.d/vesta.sh
3032

3133
start_nginx() {
3234
start-stop-daemon --start --quiet --pidfile $NGINX_PID \
@@ -74,6 +76,7 @@ case "$1" in
7476
sleep 1
7577
start_nginx
7678
log_end_msg $?
79+
log_daemon_msg "Restarting $PHP_DESC" "$PHP_NAME"
7780
start_php
7881
log_end_msg $?
7982
;;

0 commit comments

Comments
 (0)