Restoring php-fpm pool.d conf files

This commit is contained in:
myvesta 2021-09-14 21:10:10 +02:00 committed by GitHub
commit c93345f669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -440,6 +440,12 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
find $HOMEDIR/$user/web/$domain/ -user $old_uid \
-exec chown -h $user:$user {} \;
fi
# Restoring php-fpm pool.d conf files
if [ -d "$tmpdir/web/$domain/php" ]; then
cp -r $tmpdir/web/$domain/php/ /etc/
fi
done
# Adding user to traff queue