mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Add symlink support to find (pool can be symlinked, i. e. when using optional version of php)
This commit is contained in:
parent
c8e03744ab
commit
fbfbda139a
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ is_web_alias_new() {
|
|||
|
||||
# Prepare web backend
|
||||
prepare_web_backend() {
|
||||
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||
pool=$(find -L /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||
if [ ! -e "$pool" ]; then
|
||||
check_result $E_NOTEXIST "php-fpm pool doesn't exist"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue