mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
fix for multiple php-fpm init scripts
This commit is contained in:
parent
80f65d54de
commit
d7eb12defa
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ if [ -z "$WEB_BACKEND" ] || [ "$WEB_BACKEND" = 'remote' ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Restart system
|
# Restart system
|
||||||
php_fpm=$(ls /etc/init.d/php*-fpm* 2>/dev/null |cut -f 4 -d /)
|
php_fpm=$(ls /etc/init.d/php*-fpm* 2>/dev/null |cut -f 4 -d / |head -n 1)
|
||||||
if [ -z "$php_fpm" ]; then
|
if [ -z "$php_fpm" ]; then
|
||||||
service $WEB_BACKEND restart >/dev/null 2>&1
|
service $WEB_BACKEND restart >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue