mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Restoring php-fpm pool.d conf files
This commit is contained in:
parent
c93345f669
commit
7ee21aad7b
1 changed files with 4 additions and 1 deletions
|
@ -443,7 +443,10 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
|
|||
|
||||
# Restoring php-fpm pool.d conf files
|
||||
if [ -d "$tmpdir/web/$domain/php" ]; then
|
||||
cp -r $tmpdir/web/$domain/php/ /etc/
|
||||
fpmver=$(ls $tmpdir/web/$domain/php/)
|
||||
cp -r $tmpdir/web/$domain/php/$fpmver/ /etc/php/
|
||||
systemctl reset-failed php$fpmver-fpm
|
||||
systemctl restart php$fpmver-fpm
|
||||
fi
|
||||
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue