mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-24 07:05:58 -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
|
# Restoring php-fpm pool.d conf files
|
||||||
if [ -d "$tmpdir/web/$domain/php" ]; then
|
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
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue