mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Checking php7.4 pool conf while deleting domain
This commit is contained in:
parent
08834fcd15
commit
fe6cb1fbff
1 changed files with 5 additions and 0 deletions
|
@ -87,6 +87,11 @@ if [ -f "$fpmconf" ]; then
|
|||
rm $fpmconf
|
||||
echo "Deleted: $fpmconf" >> /usr/local/vesta/log/system.log
|
||||
fi
|
||||
fpmconf="/etc/php/7.4/fpm/pool.d/$domain.conf"
|
||||
if [ -f "$fpmconf" ]; then
|
||||
rm $fpmconf
|
||||
echo "Deleted: $fpmconf" >> /usr/local/vesta/log/system.log
|
||||
fi
|
||||
|
||||
# Deleting domain from web.conf
|
||||
sed -i "/DOMAIN='$domain'/ d" $USER_DATA/web.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue