mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
proper variable for php-fpm
This commit is contained in:
parent
b8da37c5ba
commit
9707a10117
1 changed files with 3 additions and 0 deletions
|
@ -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 $?
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue